Hi, I need to apply DS_SYSMODAL style while creating a modeless dialog at runtime based on a registry key setting.And also undo this style from dialog at runtime. When DS_SYSMODAL is set, Windows is internally setting it to WS_EX_TOPMOST. Now Can anyone tell me how I should do the same. I have used ModifyStyleEx as below but it didnt seem to have any impact. if(blnSysModal) { m_dlg1->ModifyStyleEx(0,WS_EX_TOPMOST); } else { m_dlg1->ModifyStyleEx(WS_EX_TOPMOST,0); } Any help on the same would be appreciated. Thanks Satya
Today is a gift, that's why it is called the present.