Prev: zipfldr.dll::RouteTheCall(...) Parameters,...
Next: PropSheet: Default action lost after close-tab
From: Christian ASTOR on 28 Jan 2010 06:18 On 28 jan, 11:41, Larry Lindstrom <larryl_tu...(a)hotmail.com> wrote: > But this function fails when run in my sample code. CreateWindowEx > () returns a status_bar_handle of NULL, and the error code is 1407, > "Cannot find window class". > I have comctl32.lib defined, and include commctrl.h. Hinstance is > 0x00400000, hdlg has the correct value. > > What am I missing? Are you sure that you call InitCommonControls() somewhere ?
From: Larry Lindstrom on 28 Jan 2010 06:57 On Jan 28, 3:18 am, Christian ASTOR <casto...(a)club-internet.fr> wrote: > On 28 jan, 11:41, Larry Lindstrom <larryl_tu...(a)hotmail.com> wrote: > > > But this function fails when run in my sample code. CreateWindowEx > > () returns a status_bar_handle of NULL, and the error code is 1407, > > "Cannot find window class". > > I have comctl32.lib defined, and include commctrl.h. Hinstance is > > 0x00400000, hdlg has the correct value. > > > What am I missing? > > Are you sure that you call InitCommonControls() somewhere ? Thanks Christian: That was the problem. Somehow I missed the call to the application's function that calls InitCommonControlsEx(). As I've told you so many times, I appreciate your assistance. Larry
|
Pages: 1 Prev: zipfldr.dll::RouteTheCall(...) Parameters,... Next: PropSheet: Default action lost after close-tab |