Search Results - VBForums

Search:

Type: Posts; User: Krool

Page 1 of 7 1 2 3 4

Search: Search took 0.02 seconds.

  1. Re: CommonControls (Replacement of the MS common controls)

    Update released.
    Quite important when using the ImageList control. (Though it effects actually only WinXP)
  2. Re: CommonControls (Replacement of the MS common controls)

    I googled this and it seems that if an Input Method Editor is processing key input and the event is keydown, it returns always 229. Thus this is not a bug on my side.



    Yes. The BackColor is...
  3. Re: CommonControls (Replacement of the MS common controls)

    Open the .frm files in the text editor and change it directly there in one swoop. And for instance for the TabStrip control. Of course the 'InitTabs' property will cause an error when converting from...
  4. Re: CommonControls (Replacement of the MS common controls)

    So the crash appears when adding the references? Are there any forms "open" when you do that. Maybe try to close all forms, save, add references, save. ?

    And what happens if turn back on unhandled...
  5. Re: CommonControls (Replacement of the MS common controls)

    And what is the sense of this? Will the exe run without the OCX registered on another system?
  6. Re: CommonControls (Replacement of the MS common controls)

    The OCX itself will need the VB6Runtimes. There is no way for this.
    Included it in a resource?! Never heard of it.
  7. Re: CommonControls (Replacement of the MS common controls)

    What does not work? The property expects a value based on the scale mode of the container, e.g. in twips.

    So - in twips - for a 5 pixel margin you would need a value of 75 (5*15) and not 5. (5...
  8. Re: CommonControls (Replacement of the MS common controls)

    IEnumVARIANT is hidden. It is a member of the stdole library. (stdole2.tlb)
    This library is referenced in VB6 by default.
  9. Re: CommonControls (Replacement of the MS common controls)

    When you resize with the mouse then the resize handler will be fired constantly. But when you resize only 'once' you will see the point I mean. However..
  10. Re: CommonControls (Replacement of the MS common controls)

    I'm happy with the UserControl_Resize handler how it is now. Only the Padding component was wrong, thanks for this. But the rest is OK for me.

    You removed the row count check at the bottom. But if...
  11. Re: CommonControls (Replacement of the MS common controls)

    It would be good to know which IME and what key exactly generates two WM_CHARs.
    But the following would solve this case also?

    Case WM_CHAR
    Dim KeyChar As Integer
    If TextBoxCharCodeCache...
  12. Re: CommonControls (Replacement of the MS common controls)

    I recommend the use of the CommonDialog class instead of a control in this case.
    But, you can "wrap" the COmmonDialog class into a new UserControl, for you special needs. :)

    For the ToolBar:
    You...
  13. Re: CommonControls (Replacement of the MS common controls)

    You mean like following?

    Private Const WM_UNICHAR As Long = &H109, UNICODE_NOCHAR As Long = &HFFFF&

    Case WM_UNICHAR
    If wParam = UNICODE_NOCHAR Then WindowProcControl = 1 Else SendMessage...
  14. Re: CommonControls (Replacement of the MS common controls)

    In that case (sending WM_CHAR manually) the wParam value of the sendmessage function will be used. Because the cache variable is zero and therefore the value of wParam gets not altered. So only when...
  15. Re: CommonControls (Replacement of the MS common controls)

    Thanks to georgekar, I have finally a perfect solution. :)


    Private Type POINTAPI
    X As Long
    Y As Long
    End Type
    Private Type TMSG
    hWnd As Long
    Message As Long
  16. Re: CommonControls (Replacement of the MS common controls)

    But still there is one important issue.
    Open notepad and any of your Unicode TextBox. When you enter a dead key now in the notepad, for e.g. `. Then switch to the Unicode TextBox and enter the the...
  17. Re: CommonControls (Replacement of the MS common controls)

    Ok, then following way would solve it. (Though I cannot test)

    Case WM_CHAR
    Static SurrogateKeyChar As Integer
    Dim KeyChar As Integer, UniChar As String
    If...
  18. Re: CommonControls (Replacement of the MS common controls)

    Yes I removed that. Because 2 Unicode characters by a single keystroke just happens when you press a dead key twice. (for e.g. pressing two times ^ will result in ^^ or 2x time WM_CHAR with key char...
  19. Re: CommonControls (Replacement of the MS common controls)

    I finally got it now to work, the solution was to save the keystate of the dead key.

    @ DrUnicode, can you please test again on your side?


    Private Declare Function GetKeyboardState Lib...
  20. Re: CommonControls (Replacement of the MS common controls)

    I found the reason. I skipped the following from your original code:

    If Not IsUnicode(ToCharacterEx) Then 'This may not be necessary
    ToCharacterEx = ChrW$(KeyAscii)
    End If

    As I...
  21. Re: CommonControls (Replacement of the MS common controls)

    Can you please show me your source code implemented into my TextBox? (couldn't get it work by me straight from your original code)
  22. Re: CommonControls (Replacement of the MS common controls)

    Ok, it seems to work now. Can anyone else check it out. By replacing the code in my TextBox as following:


    Private TextBoxKeyCodeCache As Integer, TextBoxDeadKeyCodeCache As Integer


    Case...
  23. Re: CommonControls (Replacement of the MS common controls)

    Does not work by me... :(
  24. Re: CommonControls (Replacement of the MS common controls)

    @ DrUnicode, your solution mightbe the best I guess. However, with your method I was able to fix the kazakh issue. But not the pair issue (dead key first), e.g. ^ + o =

    You said you got it to...
  25. Re: CommonControls (Replacement of the MS common controls)

    I don't have this problem. Do you have any code in the LostFocus event? Maybe something like this, or similar?

    DTPicker1.Value = Int(DTPicker1.Value)
    This will cause the time to be erased. Please...
  26. Re: Setting object to nothing when passing by reference not working

    You could use the 'Release' method of the IUnknown interface. (This will burn one paper at memory side, so said)
    In order to use this you need a type library that includes this interface....
  27. Re: CommonControls (Replacement of the MS common controls)

    I am aware of this. Because of that critical point were the Long turns negative. (2GB positive, 2GB negative sign)
  28. Re: CommonControls (Replacement of the MS common controls)

    Actually I cannot replicate your problem. However, I fixed another issue with the CustomFormat property. In fact that the CustomFormat property takes now only visible effect when the Format property...
  29. Re: CommonControls (Replacement of the MS common controls)

    You can of course just use those controls you actually need for your Std-EXE project. Only the common modules/classes need to be included. Regardless of how many controls you want, even when only...
  30. Re: CommonControls (Replacement of the MS common controls)

    For commercial use I would rely on the OCX version, as it is IDE safe. And of course use the Side-by-Side technique to have not the step to register it first. By this the OCX just needs to be at the...
  31. Re: CommonControls (Replacement of the MS common controls)

    The name of the user is Thierry76. See below:
  32. Re: CommonControls (Replacement of the MS common controls)

    I assume not. It does not even work in the VBA environment. Though one user claimed to get it to work by a few modifications, but he did not say which modifications were necessary.
  33. Re: CommonControls (Replacement of the MS common controls)

    I have a added a .reg file on the post of each OCX version that will mark the CommonDialog class also "Safe for Initialization and Scripting".
    It is necessary to do like this as contrary to the...
  34. Replies
    13
    Views
    392

    Re: Trying to SetFocus on a ListView

    Why not using the SetFocus API function. This works better somehow.
  35. Re: CommonControls (Replacement of the MS common controls)

    I think I know the problem. When a interface is implemented into a UserControl then this makes no dependancy. But when a interface is implemented into a class module, like the CommonDialog.cls, then...
  36. Re: CommonControls (Replacement of the MS common controls)

    The OLEGuids.tlb is not needed to run VBCCR11.OCX. It is just needed to compile it.
    The only change between v8 and v9 is the new IObjectSafety interface. Can you please search in your registry if...
  37. Re: CommonControls (Replacement of the MS common controls)

    Update released.

    All controls in VBCCR10.OCX and VBCCR11.OCX are now marked as "Safe for Initialization and Scripting" by the IObjectSafety interface.
    The Std-EXE project is untouched as it is...
  38. Re: [VB6] API Open With Dialog with enhanced functionality

    On this function you can pass flags that the registration will not be touched. So no harms in that case.
  39. Re: CommonControls (Replacement of the MS common controls)

    Yes and Yes. ;)
  40. Re: CommonControls (Replacement of the MS common controls)

    For adjusting the panel width you can use the MinWidth property. (Width property is meant to only receive the actual width)

    The panels on my StatusBar control are owner drawn. So yes it would be...
Results 1 to 40 of 273
Page 1 of 7 1 2 3 4



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.