Dialog Problems in Vista
-
Hi friends, I have two dialogs . dialog1 has the following styles DS_MODALFRAME | WS_POPUP |WS_CAPTION |WS_BORDER dialog2 has the following styles DS_MODALFRAME | WS_POPUP. Dialog 1 is placed exactly on the top of Dialog 2. These two dialogs are aligned in a way that they appear as a single dialog. Things are working fine in all the windows operating systems(except Vista) But in Vista, The alignment is lost. The top dialog(dialog1) appears little bigger than the dialog2. Can somebody help me out solving this problem. Code is written using pure SDK.(no MFC). Thanks in advance.
Appu.. "My blood group is not B+.But I have it my blood"
-
Hi friends, I have two dialogs . dialog1 has the following styles DS_MODALFRAME | WS_POPUP |WS_CAPTION |WS_BORDER dialog2 has the following styles DS_MODALFRAME | WS_POPUP. Dialog 1 is placed exactly on the top of Dialog 2. These two dialogs are aligned in a way that they appear as a single dialog. Things are working fine in all the windows operating systems(except Vista) But in Vista, The alignment is lost. The top dialog(dialog1) appears little bigger than the dialog2. Can somebody help me out solving this problem. Code is written using pure SDK.(no MFC). Thanks in advance.
Appu.. "My blood group is not B+.But I have it my blood"
Friends... Atlast i fixed the problem. This is due to the code GetSystemMetrics(SM_CXFRAME) in Vista is returning 8,where as in the older version, It is returning 4. I am sharing this info for all those who come across this kind of problems.
Appu.. "My blood group is not B+.But I have it my blood"
-
Friends... Atlast i fixed the problem. This is due to the code GetSystemMetrics(SM_CXFRAME) in Vista is returning 8,where as in the older version, It is returning 4. I am sharing this info for all those who come across this kind of problems.
Appu.. "My blood group is not B+.But I have it my blood"
You can probaly repost it in subtle bugs[^] section.
Prasad Notifier using ATL | Operator new[],delete[][^]