Click here to Skip to main content
15,896,063 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionSIZING the Window Pin
RockyJames25-Apr-06 0:47
RockyJames25-Apr-06 0:47 
QuestionRe: SIZING the Window Pin
David Crow25-Apr-06 4:52
David Crow25-Apr-06 4:52 
QuestionAssert failed in wincore Pin
sujtha25-Apr-06 0:39
sujtha25-Apr-06 0:39 
AnswerRe: Assert failed in wincore Pin
voorugonda prashanth25-Apr-06 1:27
voorugonda prashanth25-Apr-06 1:27 
GeneralRe: Assert failed in wincore Pin
sujtha25-Apr-06 1:32
sujtha25-Apr-06 1:32 
AnswerRe: Assert failed in wincore Pin
Naveen25-Apr-06 1:35
Naveen25-Apr-06 1:35 
GeneralRe: Assert failed in wincore Pin
sujtha25-Apr-06 1:40
sujtha25-Apr-06 1:40 
GeneralRe: Assert failed in wincore Pin
Naveen25-Apr-06 1:50
Naveen25-Apr-06 1:50 
No.. thats not the problem...


For u to display a dialog in another desktop...First create a new thread. Then write the above the code in that thread function...

bRes = SetThreadDesktop(hDesk); <br />
hWnd = GetDesktopWindow(); <br />
<br />
//no need of all this CWnd *MyWindow;<br />
////no need of all this  MyWindow = CWnd::FromHandle(hWnd); <br />
CMyDlg dlg; <br />
dlg.DoModal(); 


plz check if this is working..Also let me know the result

nave
GeneralRe: Assert failed in wincore Pin
sujtha25-Apr-06 2:20
sujtha25-Apr-06 2:20 
QuestionList Control Pin
chybin25-Apr-06 0:31
chybin25-Apr-06 0:31 
AnswerRe: List Control Pin
YaronNir25-Apr-06 0:38
YaronNir25-Apr-06 0:38 
QuestionApplying filter Condition in data grid control in MFC VC++ Pin
Sriram P.S25-Apr-06 0:30
Sriram P.S25-Apr-06 0:30 
Questionhow i can capture the registry key name Pin
kiranin24-Apr-06 23:55
kiranin24-Apr-06 23:55 
AnswerRe: how i can capture the registry key name Pin
YaronNir25-Apr-06 0:03
YaronNir25-Apr-06 0:03 
GeneralRe: how i can capture the registry key name Pin
kiranin25-Apr-06 0:18
kiranin25-Apr-06 0:18 
Questionphysical memory based Pin
aaaan24-Apr-06 23:40
aaaan24-Apr-06 23:40 
AnswerRe: physical memory based Pin
Nick_Kisialiou25-Apr-06 8:48
Nick_Kisialiou25-Apr-06 8:48 
QuestionResolution of a bitmap in a .bmp file Pin
aasstt24-Apr-06 23:34
aasstt24-Apr-06 23:34 
AnswerRe: Resolution of a bitmap in a .bmp file Pin
YaronNir25-Apr-06 0:01
YaronNir25-Apr-06 0:01 
GeneralRe: Resolution of a bitmap in a .bmp file Pin
aasstt25-Apr-06 0:17
aasstt25-Apr-06 0:17 
AnswerRe: Resolution of a bitmap in a .bmp file Pin
Hamid_RT25-Apr-06 0:18
Hamid_RT25-Apr-06 0:18 
GeneralRe: Resolution of a bitmap in a .bmp file Pin
aasstt25-Apr-06 0:23
aasstt25-Apr-06 0:23 
GeneralRe: Resolution of a bitmap in a .bmp file Pin
Hamid_RT25-Apr-06 0:36
Hamid_RT25-Apr-06 0:36 
GeneralRe: Resolution of a bitmap in a .bmp file Pin
aasstt25-Apr-06 1:18
aasstt25-Apr-06 1:18 
GeneralRe: Resolution of a bitmap in a .bmp file Pin
Hamid_RT25-Apr-06 2:08
Hamid_RT25-Apr-06 2:08 

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.