Hello,
I created a wxDialog and the exit X box in the upper right corner stays gray. How can I activate it?
Thank you.
wxDialog
wxDialog
Thank you for the suggestion.
I had used wxDEFAULT_DIALOG_STYLE which included wxCLOSE_BOX
Anyway, I changed it to the following:
wxDEFAULT_DIALOG_STYLE|wxCLOSE_BOX
No change.
the "X" box is still grayed.
I had used wxDEFAULT_DIALOG_STYLE which included wxCLOSE_BOX
Anyway, I changed it to the following:
wxDEFAULT_DIALOG_STYLE|wxCLOSE_BOX
No change.
the "X" box is still grayed.
______________
WxWidgets 2.6.1, .net 2003, Windows2000
Sometimes there's a lot of gravel around the gems. WxWidgets is a gem!
WxWidgets 2.6.1, .net 2003, Windows2000
Sometimes there's a lot of gravel around the gems. WxWidgets is a gem!
wxDialog
OK, this is strange.
When I was having the trouble with the "X" box grayed I was using an old Dell Laptop (Windows98se).
Wife came home, so I sent my project to my office computer and drove to the office. At the office I use Windows2000pro. I works fine.
The "X" box is grayed using Windows98se.
The "X" box is active when run on Windows2000pro.
Strange.
Dev-cpp 4.9.9.2, WXWidgets 2.6.1 packet
When I was having the trouble with the "X" box grayed I was using an old Dell Laptop (Windows98se).
Wife came home, so I sent my project to my office computer and drove to the office. At the office I use Windows2000pro. I works fine.
The "X" box is grayed using Windows98se.
The "X" box is active when run on Windows2000pro.
Strange.
Dev-cpp 4.9.9.2, WXWidgets 2.6.1 packet
______________
WxWidgets 2.6.1, .net 2003, Windows2000
Sometimes there's a lot of gravel around the gems. WxWidgets is a gem!
WxWidgets 2.6.1, .net 2003, Windows2000
Sometimes there's a lot of gravel around the gems. WxWidgets is a gem!
Sounds like a clash of flags. Maybe you should (if you have the time) check if the flags translated to Win98 API are the same as the flags for the Win2000 API.
Especially the close blox flag, maybe something changed in the API for WinNT (2K and XP)
Regards,
- Jorgen
Especially the close blox flag, maybe something changed in the API for WinNT (2K and XP)
Regards,
- Jorgen
Forensic Software Engineer
Netherlands Forensic Insitute
http://english.forensischinstituut.nl/
-------------------------------------
Jorg's WasteBucket
http://www.xs4all.nl/~jorgb/wb
Netherlands Forensic Insitute
http://english.forensischinstituut.nl/
-------------------------------------
Jorg's WasteBucket
http://www.xs4all.nl/~jorgb/wb
wxDialog - It works now!
When I returned home the "X" box was showing up on the wxdialog running on the Windows98se laptop???
It must be a problem with the old Windows98se or the laptop.
I guess when it comes to Windows it always a good idea to
REBOOT! first.
Sorry for the trouble.
It must be a problem with the old Windows98se or the laptop.
I guess when it comes to Windows it always a good idea to
REBOOT! first.
Sorry for the trouble.
______________
WxWidgets 2.6.1, .net 2003, Windows2000
Sometimes there's a lot of gravel around the gems. WxWidgets is a gem!
WxWidgets 2.6.1, .net 2003, Windows2000
Sometimes there's a lot of gravel around the gems. WxWidgets is a gem!