Click here to Skip to main content
15,917,579 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: RegDeleteValue with REG_MULTI_SX/MoveFileEx? Pin
Kayembi7-Sep-03 2:35
Kayembi7-Sep-03 2:35 
GeneralRe: RegDeleteValue with REG_MULTI_SX/MoveFileEx? Pin
Kayembi7-Sep-03 3:49
Kayembi7-Sep-03 3:49 
GeneralSet the Bk color of a list ctrl Pin
Md Saleem Navalur6-Sep-03 3:07
Md Saleem Navalur6-Sep-03 3:07 
GeneralRe: Set the Bk color of a list ctrl Pin
valikac6-Sep-03 5:07
valikac6-Sep-03 5:07 
GeneralRe: Set the Bk color of a list ctrl Pin
Michael Dunn6-Sep-03 6:05
sitebuilderMichael Dunn6-Sep-03 6:05 
GeneralRe: Set the Bk color of a list ctrl Pin
Jörgen Sigvardsson6-Sep-03 11:33
Jörgen Sigvardsson6-Sep-03 11:33 
GeneralRe: Set the Bk color of a list ctrl Pin
Anthony_Yio7-Sep-03 0:24
Anthony_Yio7-Sep-03 0:24 
QuestionBringing a window to the top? Pin
Dov Sherman5-Sep-03 18:18
Dov Sherman5-Sep-03 18:18 
I have two applications and an event in one of the applications posts a message to the other application. I'm receiving the message in my second application with OnCopyData(). The message is being received but the receiving application remains in the background behind the window for the sending application.

I want to make the receiving application become the front-most and active window when it receives the message. I tried adding this code to OnCopyData():

SetForegroundWindow();<br />
SetActiveWindow();<br />
SetWindowPos(&wndNoTopMost, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);


This seems to cause the receiving application's button on the Taskbar to flash but it's still visually behind the sending application's window.

What am I doing wrong here?
AnswerRe: Bringing a window to the top? Pin
Michael Dunn5-Sep-03 18:50
sitebuilderMichael Dunn5-Sep-03 18:50 
AnswerRe: Bringing a window to the top? Pin
Neville Franks5-Sep-03 23:26
Neville Franks5-Sep-03 23:26 
QuestionThe best way 2 skin an application? Pin
Roland19805-Sep-03 12:03
sussRoland19805-Sep-03 12:03 
AnswerRe: The best way 2 skin an application? Pin
Phil Speller5-Sep-03 12:50
Phil Speller5-Sep-03 12:50 
Questionhow to get the number of digits Pin
elmahdy5-Sep-03 11:50
elmahdy5-Sep-03 11:50 
AnswerRe: how to get the number of digits Pin
Shog95-Sep-03 12:26
sitebuilderShog95-Sep-03 12:26 
AnswerRe: how to get the number of digits Pin
David Crow5-Sep-03 15:00
David Crow5-Sep-03 15:00 
AnswerRe: how to get the number of digits Pin
Terry O'Nolley5-Sep-03 18:25
Terry O'Nolley5-Sep-03 18:25 
AnswerRe: how to get the number of digits Pin
Ted Ferenc6-Sep-03 9:50
Ted Ferenc6-Sep-03 9:50 
GeneralArrays; Pin
Bo Hunter5-Sep-03 11:13
Bo Hunter5-Sep-03 11:13 
GeneralRe: Arrays; Pin
Michael Dunn5-Sep-03 13:53
sitebuilderMichael Dunn5-Sep-03 13:53 
GeneralRe: Arrays; Pin
Jörgen Sigvardsson6-Sep-03 11:37
Jörgen Sigvardsson6-Sep-03 11:37 
GeneralRe: Arrays; Pin
Nemanja Trifunovic6-Sep-03 17:51
Nemanja Trifunovic6-Sep-03 17:51 
Generalarugh arugh +arugh^1*10^4 Pin
(Steven Hicks)n+15-Sep-03 11:13
(Steven Hicks)n+15-Sep-03 11:13 
GeneralRe: arugh arugh +arugh^1*10^4 Pin
Michael Dunn5-Sep-03 13:54
sitebuilderMichael Dunn5-Sep-03 13:54 
Generalinterrupt handling in win2k Pin
Member 5562475-Sep-03 11:01
Member 5562475-Sep-03 11:01 
GeneralRe: interrupt handling in win2k Pin
Brad Sokol5-Sep-03 11:21
Brad Sokol5-Sep-03 11:21 

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.