Re: Getting Combo Box Drop Down Button hWnd?
- Posted by Derek Parnell <ddparnell at bigpond.com> Jun 11, 2005
- 561 views
Al Getz wrote: [snip] > I had considered using Windows Properties API's but decided that because > they use string values that they would add an unnecessary delay to > looking up the id's, and using ATOM's would muddie up the processing > and probably cause a delay also. The string value is the name of the property and not the value of it. constant idprop = allocate_string("win32libid") . . . control_hWnd &= 0 newid = length(control_hWnd) hWnd = call_c_func( CreateWindow, { . . . }) control_hWnd[newid] = hWnd VOID = call_c_func( SetProperty, { hWnd, idprop, newid } ) and later id = call_c_func( GetProperty, { hWnd, idprop } ) -- Derek Parnell Melbourne, Australia irc://irc.sorcery.net:9000/euphoria