Simse
Programmer
- Feb 24, 2005
- 22
Hi there!
I'm quite a newbie and i've created a property sheet in which i want to hide/rename/change the function of buttons. All solutions i found used GetDlgItem(), but it doesn't work for me.
(error C2660 : function does not take 1 parameters)
The critical lines are:
CWnd *pWnd = GetDlgItem( IDHELP );
pWnd->ShowWindow( FALSE );
or
((CWnd*)GetDlgItem(IDHELP))->ShowWindow(SW_HIDE);
whatever...nothing works!
Does anyone know, what might be the problem?
Is it possible not to close the property sheet when clicking the ok-button?
Hoping for help, thanks!
I'm quite a newbie and i've created a property sheet in which i want to hide/rename/change the function of buttons. All solutions i found used GetDlgItem(), but it doesn't work for me.
(error C2660 : function does not take 1 parameters)
The critical lines are:
CWnd *pWnd = GetDlgItem( IDHELP );
pWnd->ShowWindow( FALSE );
or
((CWnd*)GetDlgItem(IDHELP))->ShowWindow(SW_HIDE);
whatever...nothing works!
Does anyone know, what might be the problem?
Is it possible not to close the property sheet when clicking the ok-button?
Hoping for help, thanks!