January 20, 2021, 01:06:57 PM
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Forum
Help
Search
Gallery
Login
Register
SyntaxBomb - Indie Coders
»
Languages & Coding
»
Blitz Code Archives
»
BlitzPlus Gui
»
[bmx] SetComboboxHeight by JoshK [ 1+ years ago ]
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: [bmx] SetComboboxHeight by JoshK [ 1+ years ago ] (Read 1129 times)
BlitzBot
Jr. Member
Posts: 1
[bmx] SetComboboxHeight by JoshK [ 1+ years ago ]
«
on:
June 29, 2017, 12:28:42 AM »
Title :
SetComboboxHeight
Author :
JoshK
Posted :
1+ years ago
Description :
Sets the maximum height a combobox list drops down to when opened
Code :
Code: BlitzMax
Function
SetComboboxHeight
(
gadget:TGadget,height
)
Local
combohwnd=SendMessageA
(
QueryGadget
(
gadget,QUERY_HWND
)
,CBEM_GETCOMBOCONTROL,
0
,
0
)
SetWindowPos combohwnd,
0
,
0
,
0
,GadgetWidth
(
gadget
)
,Desktop
(
)
.ClientHeight
(
)
,SWP_NOMOVE|SWP_NOZORDER|SWP_NOREDRAW|SWP_NOACTIVATE
EndFunction
Comments :
none...
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
SyntaxBomb - Indie Coders
»
Languages & Coding
»
Blitz Code Archives
»
BlitzPlus Gui
»
[bmx] SetComboboxHeight by JoshK [ 1+ years ago ]
SimplePortal 2.3.6 © 2008-2014, SimplePortal