cannot add maximum and minimum button
-
I have a dialog. I set these properties:
System Menu = True
Maximize Box = True
Mimimize Box = TrueThe dialog just show a close button, but not show maximize button and minimize button. I thoght that I miss some other properties? Can anyone tell me what's wrong here?
-
I have a dialog. I set these properties:
System Menu = True
Maximize Box = True
Mimimize Box = TrueThe dialog just show a close button, but not show maximize button and minimize button. I thoght that I miss some other properties? Can anyone tell me what's wrong here?
tataxin wrote:
The dialog just show a close button, but not show maximize button and minimize button. I thoght that I miss some other properties? Can anyone tell me what's wrong here?
These should be enough. I face such problems mainly because my resource dll does not get compiled as dependency is not set on it, it is compiled on request only. So make sure the resource file is getting compiled. Another possibility to check is whether these styles are being dynamically removed or not.
Nibu babu thomas Microsoft MVP for VC++ Code must be written to be read, not by the compiler, but by another human being. Programming Blog: http://nibuthomas.wordpress.com
-
tataxin wrote:
The dialog just show a close button, but not show maximize button and minimize button. I thoght that I miss some other properties? Can anyone tell me what's wrong here?
These should be enough. I face such problems mainly because my resource dll does not get compiled as dependency is not set on it, it is compiled on request only. So make sure the resource file is getting compiled. Another possibility to check is whether these styles are being dynamically removed or not.
Nibu babu thomas Microsoft MVP for VC++ Code must be written to be read, not by the compiler, but by another human being. Programming Blog: http://nibuthomas.wordpress.com