Click here to Skip to main content
15,887,214 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: auto_ptr in exception safety design Pin
CPallini30-Mar-08 2:55
mveCPallini30-Mar-08 2:55 
GeneralRe: auto_ptr in exception safety design Pin
George_George30-Mar-08 19:03
George_George30-Mar-08 19:03 
GeneralRe: auto_ptr in exception safety design Pin
CPallini30-Mar-08 21:24
mveCPallini30-Mar-08 21:24 
GeneralRe: auto_ptr in exception safety design Pin
George_George30-Mar-08 22:19
George_George30-Mar-08 22:19 
Generalregarding Visual Studio 2005 Pin
rowdy_vc++29-Mar-08 0:28
rowdy_vc++29-Mar-08 0:28 
GeneralRe: regarding Visual Studio 2005 Pin
rp_suman29-Mar-08 1:48
rp_suman29-Mar-08 1:48 
GeneralRe: regarding Visual Studio 2005 Pin
Mark Salsbery29-Mar-08 7:05
Mark Salsbery29-Mar-08 7:05 
QuestionProblem with wndTopMost in Vista Pin
creatman28-Mar-08 23:35
creatman28-Mar-08 23:35 
Hi!

I have a problem with TopMost window on Windows Vista.
In Dialog's OnInitDialog method I try to set position by the following code


<br />
<br />
    int cx, cy; <br />
    HDC dc = ::GetDC(NULL); <br />
    cx = GetDeviceCaps(dc,HORZRES) + <br />
        GetSystemMetrics(SM_CXBORDER); <br />
    cy = GetDeviceCaps(dc,VERTRES) +<br />
        GetSystemMetrics(SM_CYBORDER); <br />
    ::ReleaseDC(0,dc); <br />
<br />
//Put window on top and expand it to fill screen<br />
	SetWindowPos(&wndTopMost, <br />
        -(GetSystemMetrics(SM_CXBORDER) + 2), <br />
        -(GetSystemMetrics(SM_CYBORDER) + 2), <br />
        cx+5,cy+5, 0); <br />


that works fine in XP - dialog is realy top most, but on Vista sometimes it is not - some active windows like Firefox can be above of my dialog. I can't understand where is the problem here and how can it be fixed?
GeneralRe: Problem with wndTopMost in Vista Pin
rowdy_vc++29-Mar-08 1:31
rowdy_vc++29-Mar-08 1:31 
GeneralRe: Problem with wndTopMost in Vista Pin
creatman29-Mar-08 7:28
creatman29-Mar-08 7:28 
GeneralWhat's the newest Platform SDK VC6 can use under Windows XP? [modified] Pin
followait28-Mar-08 23:03
followait28-Mar-08 23:03 
GeneralRe: What's the newest Platform SDK VC6 can use under Windows XP? Pin
Randor 30-Mar-08 16:40
professional Randor 30-Mar-08 16:40 
GeneralRe: What's the newest Platform SDK VC6 can use under Windows XP? Pin
followait30-Mar-08 18:08
followait30-Mar-08 18:08 
Generalabout DLL Pin
rowdy_vc++28-Mar-08 22:59
rowdy_vc++28-Mar-08 22:59 
GeneralRe: about DLL Pin
followait28-Mar-08 23:17
followait28-Mar-08 23:17 
GeneralRe: about DLL Pin
rp_suman29-Mar-08 0:18
rp_suman29-Mar-08 0:18 
GeneralRe: about DLL Pin
Moak29-Mar-08 13:33
Moak29-Mar-08 13:33 
GeneralCompile error atlapp.h can not be found Pin
George_George28-Mar-08 22:16
George_George28-Mar-08 22:16 
GeneralRe: Compile error atlapp.h can not be found Pin
rp_suman29-Mar-08 0:39
rp_suman29-Mar-08 0:39 
GeneralRe: Compile error atlapp.h can not be found Pin
George_George29-Mar-08 0:48
George_George29-Mar-08 0:48 
GeneralRe: Compile error atlapp.h can not be found [modified] Pin
rp_suman29-Mar-08 1:01
rp_suman29-Mar-08 1:01 
GeneralRe: Compile error atlapp.h can not be found Pin
George_George29-Mar-08 1:10
George_George29-Mar-08 1:10 
GeneralRe: Compile error atlapp.h can not be found Pin
rp_suman29-Mar-08 2:13
rp_suman29-Mar-08 2:13 
GeneralRe: Compile error atlapp.h can not be found Pin
George_George29-Mar-08 2:34
George_George29-Mar-08 2:34 
GeneralRe: Compile error atlapp.h can not be found Pin
rp_suman29-Mar-08 2:35
rp_suman29-Mar-08 2:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.