Click here to Skip to main content
15,891,184 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionsending email Pin
saisp24-Jun-07 20:47
saisp24-Jun-07 20:47 
AnswerRe: sending email Pin
Hamid_RT24-Jun-07 20:57
Hamid_RT24-Jun-07 20:57 
GeneralRe: sending email Pin
saisp24-Jun-07 21:03
saisp24-Jun-07 21:03 
GeneralRe: sending email Pin
Iain Clarke, Warrior Programmer25-Jun-07 0:59
Iain Clarke, Warrior Programmer25-Jun-07 0:59 
QuestionShowing a window always on top!!! Pin
Sunil P V24-Jun-07 20:37
Sunil P V24-Jun-07 20:37 
AnswerRe: Showing a window always on top!!! Pin
HakunaMatada24-Jun-07 21:05
HakunaMatada24-Jun-07 21:05 
GeneralRe: Showing a window always on top!!! Pin
Sunil P V24-Jun-07 21:11
Sunil P V24-Jun-07 21:11 
GeneralRe: Showing a window always on top!!! Pin
HakunaMatada24-Jun-07 22:32
HakunaMatada24-Jun-07 22:32 
sunilpv1982 wrote:
Setting SetWindowPos with HWND_TOP doesn't help as the window is shown on the taskbar alone nad not displayed to the user.


Have you used the SWP_SHOWWINDOW flag with SetWindowPos?

SetWindowPos(HWND_TOP, ......., SWP_SHOWWINDOW);

MSDN Docs on SetWindowPos[^]

If this doesn't work then try

ShowWindow(SW_SHOW);

MSDN Docs on ShowWindow[^]

Hope this helps Smile | :)


---
Beer | [beer] Hakuna-Matata Beer | [beer]
It means no worries for the rest of your days...
It's our problem free, Philosophy

Jig | [Dance]

"I think my response was 'What idiot dreamed this up?'" -- Mary Ann Davidson, Oracle's chief security officer, in typical blunt manner, remembering her reaction to the company's scheme to brand its databases as "unbreakable."

GeneralRe: Showing a window always on top!!! Pin
Sunil P V24-Jun-07 23:02
Sunil P V24-Jun-07 23:02 
GeneralRe: Showing a window always on top!!! Pin
HakunaMatada24-Jun-07 23:21
HakunaMatada24-Jun-07 23:21 
GeneralRe: Showing a window always on top!!! Pin
Mark Salsbery25-Jun-07 8:12
Mark Salsbery25-Jun-07 8:12 
QuestionRe: Showing a window always on top!!! Pin
Mark Salsbery25-Jun-07 8:05
Mark Salsbery25-Jun-07 8:05 
AnswerRe: Showing a window always on top!!! Pin
Sunil P V26-Jun-07 20:06
Sunil P V26-Jun-07 20:06 
QuestionCEdit control with button inside. Pin
Meindert224-Jun-07 20:28
Meindert224-Jun-07 20:28 
AnswerRe: CEdit control with button inside. Pin
HakunaMatada24-Jun-07 21:00
HakunaMatada24-Jun-07 21:00 
AnswerRe: CEdit control with button inside. Pin
Hamid_RT24-Jun-07 21:03
Hamid_RT24-Jun-07 21:03 
AnswerRe: CEdit control with button inside. Pin
Nibu babu thomas24-Jun-07 21:13
Nibu babu thomas24-Jun-07 21:13 
GeneralRe: CEdit control with button inside. Pin
Meindert224-Jun-07 22:34
Meindert224-Jun-07 22:34 
GeneralRe: CEdit control with button inside. Pin
Nibu babu thomas24-Jun-07 22:37
Nibu babu thomas24-Jun-07 22:37 
GeneralRe: CEdit control with button inside. Pin
Meindert224-Jun-07 23:58
Meindert224-Jun-07 23:58 
QuestionMemory Leak Detector Pin
Akin Ocal24-Jun-07 19:49
Akin Ocal24-Jun-07 19:49 
AnswerRe: Memory Leak Detector Pin
Hamid_RT24-Jun-07 19:55
Hamid_RT24-Jun-07 19:55 
AnswerRe: Memory Leak Detector Pin
Mark Salsbery25-Jun-07 8:20
Mark Salsbery25-Jun-07 8:20 
QuestionCFontHolder Pin
shiraztk24-Jun-07 19:37
shiraztk24-Jun-07 19:37 
AnswerRe: CFontHolder Pin
Mark Salsbery25-Jun-07 8:24
Mark Salsbery25-Jun-07 8:24 

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.