Click here to Skip to main content
15,902,028 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Evil Circular dependency problem Pin
chasetoys27-Apr-06 9:50
chasetoys27-Apr-06 9:50 
GeneralRe: Evil Circular dependency problem Pin
David Crow27-Apr-06 9:53
David Crow27-Apr-06 9:53 
GeneralRe: Evil Circular dependency problem Pin
Rilhas29-Apr-06 13:54
Rilhas29-Apr-06 13:54 
QuestionApplication stay on top of another application (not all windows) Pin
pince27-Apr-06 7:49
pince27-Apr-06 7:49 
AnswerRe: Application stay on top of another application (not all windows) Pin
David Crow27-Apr-06 8:16
David Crow27-Apr-06 8:16 
GeneralRe: Application stay on top of another application (not all windows) Pin
pince27-Apr-06 9:01
pince27-Apr-06 9:01 
GeneralRe: Application stay on top of another application (not all windows) Pin
David Crow27-Apr-06 9:26
David Crow27-Apr-06 9:26 
GeneralRe: Application stay on top of another application (not all windows) Pin
pince27-Apr-06 12:12
pince27-Apr-06 12:12 
I got a hold of the psapi files, and everything compiles fine in Debug mode. Except the window doesn't stay on top of the other app (it behaves as any other window). Here's my code:

DWORD appPID; // the pid of the application I want my app to stay on top of

CMainWindowIterator wndIter(appPID);
HWND appHwnd = wndIter.First();
CWnd * pAppCWnd = FromHandle(appHwnd);

SetWindowPos(pAppCWnd , 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);


Also, when I build in release mode, I get the following warning:

LINK : warning LNK4089: all references to "PSAPI.DLL" discarded by /OPT:REF
Questionhow to make your edit control accept only capital letters Pin
elephantstar27-Apr-06 6:45
elephantstar27-Apr-06 6:45 
AnswerRe: how to make your edit control accept only capital letters Pin
toxcct27-Apr-06 6:54
toxcct27-Apr-06 6:54 
GeneralRe: how to make your edit control accept only capital letters Pin
elephantstar27-Apr-06 7:41
elephantstar27-Apr-06 7:41 
AnswerRe: how to make your edit control accept only capital letters Pin
valikac27-Apr-06 7:03
valikac27-Apr-06 7:03 
AnswerRe: how to make your edit control accept only capital letters Pin
Michael Dunn27-Apr-06 19:56
sitebuilderMichael Dunn27-Apr-06 19:56 
Questiongetline / file position Pin
ldsdbomber27-Apr-06 5:45
ldsdbomber27-Apr-06 5:45 
AnswerRe: getline / file position Pin
David Crow27-Apr-06 5:48
David Crow27-Apr-06 5:48 
QuestionConnecting to remote (LAN) computer using UNC Pin
Mike the Red27-Apr-06 5:28
Mike the Red27-Apr-06 5:28 
QuestionRe: Connecting to remote (LAN) computer using UNC Pin
David Crow27-Apr-06 5:46
David Crow27-Apr-06 5:46 
AnswerRe: Connecting to remote (LAN) computer using UNC Pin
Mike the Red27-Apr-06 6:01
Mike the Red27-Apr-06 6:01 
QuestionRe: Connecting to remote (LAN) computer using UNC Pin
David Crow27-Apr-06 6:36
David Crow27-Apr-06 6:36 
QuestionRe: Connecting to remote (LAN) computer using UNC Pin
Mike the Red27-Apr-06 7:31
Mike the Red27-Apr-06 7:31 
QuestionRe: Connecting to remote (LAN) computer using UNC Pin
David Crow27-Apr-06 7:59
David Crow27-Apr-06 7:59 
AnswerRe: Connecting to remote (LAN) computer using UNC Pin
Mike the Red27-Apr-06 8:25
Mike the Red27-Apr-06 8:25 
QuestionRefreshing problem in User Defined List Control (CListCtrl) Pin
BlrBoy27-Apr-06 5:14
BlrBoy27-Apr-06 5:14 
QuestionFolder Dialog for Remote Machine Pin
ariaz27-Apr-06 4:16
ariaz27-Apr-06 4:16 
AnswerRe: Folder Dialog for Remote Machine Pin
Ravi Bhavnani27-Apr-06 4:52
professionalRavi Bhavnani27-Apr-06 4:52 

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.