Hi Guys,
I am using the wxFRAME_NO_TASKBAR flag for my Frame, I want to switch off this flag from the Frame (eg. The frame is visible in task bar) dynamically.
So I used the following code. I am on Windows XP.
if(m_frame->HasFlag(wxFRAME_NO_TASKBAR))
m_frame->SetWindowStyleFlag( m_frame->GetWindowStyleFlag() ^ wxFRAME_NO_TASKBAR);
else
m_frame->SetWindowStyleFlag(m_frame->GetWindowStyleFlag() | wxFRAME_NO_TASKBAR);
The switch on/off is done by a check menu item in the Frame itself. But this does not do anything.
The documentation says that some flags cannot be changed once created the frame.
Any Ideas about this please ?
Or
a alternative way to change the flag of this Frame dynamically?
Thanks
wxFRAME_NO_TASKBAR issue Topic is solved
wxFRAME_NO_TASKBAR issue
Range