|
-
Jun 19th, 2013, 11:02 AM
#14
Re: ImageCombo like combobox Dropdownlist?
 Originally Posted by SuperDre
grrr. even simple stuff like the routines I used for setting a DropDownCount on a normal combobox don't seem to work on a ImageCombo..
. . .
Also by replacing the cbo.hwnd (MoveWindow) with the hwnd of the childwindow "ComboBox" doesn't work..
SetWindowPos couldn't change the height of the ListBox portion either.
 Originally Posted by SuperDre
Also SendMessage(icbo.hWnd, CB_SETMINVISIBLE, MyCount, ByVal 0) doesn't seem to work (neither the CB_GETMINVISIBLE) ...
The CB_SETMINVISIBLE message says:
 Originally Posted by MSDN
To use CB_SETMINVISIBLE, the application must specify comctl32.dll version 6 in the manifest.
However, MS Win Common Controls 6.0 remains unaffected even if the manifest specified comctl32.dll v6.
 Originally Posted by SuperDre
Code:
Call SetWindowLong(lHwnd, GWL_STYLE, GetWindowLong(lHwnd, GWL_STYLE) Or WS_DISABLED)
The EnableWindow function can also be used.
On Local Error Resume Next: If Not Empty Is Nothing Then Do While Null: ReDim i(True To False) As Currency: Loop: Else Debug.Assert CCur(CLng(CInt(CBool(False Imp True Xor False Eqv True)))): Stop: On Local Error GoTo 0
Declare Sub CrashVB Lib "msvbvm60" (Optional DontPassMe As Any)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|