Search:

Type: Posts; User: Krool

Page 1 of 13 1 2 3 4

Search: Search took 0.23 seconds.

  1. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    Yes it's a known issue. Contrary to a VB.Form the VBA.UserForm doesn't implement IOleInPlaceActiveObject. That's why it doesn't get the "pre" accelerator keys.

    EDIT:
    I successfully "workarounded"...
  2. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    Don't know what you mean. Please be as precise as possible. For me the arrow down key works as expected.
  3. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    When you populate your grid use .ColKey to define the column headings as keys.
    After you messed up the grid with drag drop you can use .ColIndex(Key) to get the related column index.
  4. Replies
    28
    Views
    1,995

    Re: [vb6] Fix Palette when IDE Manifested - AddIn

    No suggestion. Just wanted to say it was a good idea to include it in this add-in and not release another stand-alone add-in.
  5. Re: Why is there SetWindowLongA and SetWindowLongW in Windows API?

    If a window handle is ANSI, then use SetWindowLongA. If a window is Unicode (e.g. from a CreateWindowExW call) then use SetWindowLongW.

    It's certainly also possible to unicodify a window proc by...
  6. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    Not yet in-built possible. The plan is to include in future a SelectionMode enum "ListBox" which allows multiple selection (but per full row). (and helper property .RowSelected(Index))
    If you want a...
  7. Replies
    28
    Views
    1,995

    Re: [vb6] Fix Palette when IDE Manifested - AddIn

    I was used to drag files from Explorer and already changed my habit to right-click load..
    However, it's nice now being able to drag files again in an elevated IDE on Windows 10. :)

    Thanks for...
  8. Re: [VB6] ActiveX VBFlexGrid (Replacement of the MSFlexGrid control)

    1.3.12 was the last version for 1.3.
  9. Replies
    29
    Views
    13,081

    Re: Fix Visual Styles Issues (Themes)

    1. Yes.
    2. Yes, use the fixes in a Std-exe project that is linked to the OCX.
  10. Replies
    29
    Views
    13,081

    Re: Fix Visual Styles Issues (Themes)

    This is the endless discussion between OCX and Std-EXE.

    A OCX (regardless which OCX) is not obliged to fix any visual styles issues. It can have only a stripped down set of function to know if...
  11. Replies
    2,885
    Views
    686,884

    Re: CommonControls (Replacement of the MS common controls)

    Update released for ComboBoxW, FontCombo, VirtualCombo and ImageCombo control.
    Those all controls receive CBN_DROPDOWN.

    There is this misbehavior in user32.dll that when sending a CB_SHOWDROPDOWN...
  12. Replies
    2,885
    Views
    686,884

    Re: CommonControls (Replacement of the MS common controls)

    No, that's the visual style. If you want to to have a BackColor shown in CboStyleDropDownList then you need to set .VisualStyles = False.



    I am not aware of a solution to a specific ComboBox....
  13. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    Normally the OLEGuids.tlb is not needed for a compiled VBCCR16.
  14. Re: [VB6] ActiveX CommonControls (Replacement of the MS common controls)

    Yes. 1.7 will be released soon and then all will be updated.
  15. Replies
    2,885
    Views
    686,884

    Re: CommonControls (Replacement of the MS common controls)

    You have an outdated OLEGuids.tlb.
    Just replace on syswow64 (or system32 on 32bit OS) with the new one in the download.
  16. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    You have an outdated OLEGuids.tlb.
    Just replace on syswow64 (or system32 on 32bit OS) with the new one in the download.
  17. Replies
    2,885
    Views
    686,884

    Re: CommonControls (Replacement of the MS common controls)

    1. Ensure that AllowOverType property is True.

    2. Not possible for standard. However, you can set DrawMode property to OwnerDraw. Then you can color all how you like at the cost of additional code...
  18. Replies
    2,885
    Views
    686,884

    Re: CommonControls (Replacement of the MS common controls)

    Update released.

    Included new "NodeRangeSelect" event for the TreeView control.

    Let's imagine you want that a disabled node does not get selected.
    So, you handle the "NodeBeforeSelect" event...
  19. Replies
    2,885
    Views
    686,884

    Re: CommonControls (Replacement of the MS common controls)

    Update released.

    Reworked the .WorkAreas property in the ListView control.
    It is more convinient to use at it uses the new 'LvwWorkAreas' collection class.

    With it the items can be...
  20. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    @ tnrprog,
    Can you put together a small demo showing your issue? So I have a better picture and don't fix something in the dark.
  21. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    Just a question at first: Do you have .DoubleBuffer set to True ?
  22. Replies
    2,885
    Views
    686,884

    Re: CommonControls (Replacement of the MS common controls)

    Included the MultiSelect function to the TreeView control.
    It is somewhat a common need for certain usages. For example in a drag and drop usage. With a multi select TreeView it is easier to drag...
  23. Replies
    2,885
    Views
    686,884

    Re: CommonControls (Replacement of the MS common controls)

    Yes, it's very complex to offer NM_CUSTOMDRAW via delegated events (e.g. CustomDraw event) and not understand by many.
    That's why I thought to dismiss that kind of events and if an app needs really...
  24. Replies
    2,885
    Views
    686,884

    Re: CommonControls (Replacement of the MS common controls)

    Update released.

    I didn't test the VirtualCombo when not manifested, means comctl version 5.8x.
    Because I just noticed that it fails.

    However, adding the red marked line of code in the...
  25. Replies
    2,885
    Views
    686,884

    Re: CommonControls (Replacement of the MS common controls)

    LaVolpe, I did a test with just setting the focus (SetFocusAPI) to the header control and pressing keyoard arrow keys. (but no HDM_SETFOCUSEDITEM needed)
    What is your current code?

    Illustration:...
  26. Replies
    2,885
    Views
    686,884

    Re: CommonControls (Replacement of the MS common controls)

    There is a undocumented message which does the job.
    However, it seems that it works only as of Vista+ (comctl32.dll 6.1 or greater)


    Const LVM_FIRST As Long = &H1000
    Const...
  27. Replies
    2,885
    Views
    686,884

    Re: CommonControls (Replacement of the MS common controls)

    Thanks as always for your constructive input.

    When I use a virtual list view (e.g. SQLite DataSet) then all is already pre-cached and thus no need for it.
    However, maybe for other cases it might...
  28. Replies
    28
    Views
    1,995

    Re: [vb6] Fix Palette when IDE Manifested - AddIn

    Just rename .binaryCompat to .dll and put in syswow64 folder and register.
    It's already pre-compiled.
  29. Replies
    2,885
    Views
    686,884

    Re: CommonControls (Replacement of the MS common controls)

    The "Reversed" property says:
    Returns/sets a value that determines whether or not to reverse the default, making down equal left and up equal right on horizontal orientation and left equal down and...
  30. Re: Execute Public Method of a Class using CallWindowProc

    CTimer.cls


    Private Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" (ByRef Destination As Any, ByRef Source As Any, ByVal Length As Long)
    Private Declare Function GetModuleHandle Lib...
  31. Re: Execute Public Method of a Class using CallWindowProc

    A easier solution to use a class (easy straight forward) and "Implements" this into a Form.

    Pretty all "CTimers" use a class as base and are either event driven ("WithEvents") or interface driven...
  32. Replies
    2,885
    Views
    686,884

    Re: CommonControls (Replacement of the MS common controls)

    Included new control 'VListBox'. (virtual list box)

    It is intended to not call it 'VirtualList' (likewise to the 'VirtualCombo') as 'VirtualList' is a common word to refer to a virtual list view....
  33. Replies
    6
    Views
    521

    Re: GdipGetFamilyName

    I suggested the same as wqweto but just noticed now that you ignored my declaration..
  34. Replies
    6
    Views
    521

    Re: GdipGetFamilyName

    Air code. Did not test:



    Dim famName As String * 32
    stat = GdipGetFamilyName(fontFamily, StrPtr(famName), 0)


    name is a [out] pointer.
  35. Replies
    3
    Views
    412

    Re: listview and header column name

    Hardly.

    You need to ownerdraw the header control (HDF_OWNERDRAW + WM_DRAWITEM) and custom change the header height by subclassing HDM_LAYOUT.

    This way you could show and display multiline text...
  36. Replies
    2,885
    Views
    686,884

    Re: CommonControls (Replacement of the MS common controls)

    Yes, you can handle the ItemBkColor event and change when Mod 2.
  37. Replies
    2,885
    Views
    686,884

    Re: CommonControls (Replacement of the MS common controls)

    I have no clue. I'm afraid that I can't help you.
  38. Re: Execute Public Method of a Class using CallWindowProc

    Because the TimerProc has 4 args, being the 1 one the hWnd. So you can't pass as 1. arg the ObjPtr to resolve it into a class method with then 3 remaining args left in your method.

    Typically an...
  39. Replies
    2,885
    Views
    686,884

    Re: CommonControls (Replacement of the MS common controls)

    I don't know. I can't reproduce your problem. Can anyone else?
  40. Replies
    2,885
    Views
    686,884

    Re: CommonControls (Replacement of the MS common controls)

    There is no "straight forward" solution as the select (blue) color overrides any (possible) custom draw.

    BUT, there is a nice trick using the DropHighlight functionality. (important is that...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width