Click here to Skip to main content
16,015,414 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: Another problem with maps Pin
Joaquín M López Muñoz20-Apr-03 20:09
Joaquín M López Muñoz20-Apr-03 20:09 
GeneralRe: Another problem with maps Pin
The Unknown21-Apr-03 3:27
The Unknown21-Apr-03 3:27 
GeneralWTL splitters not sending WM_SIZE to both panes Pin
Kibble19-Apr-03 12:20
Kibble19-Apr-03 12:20 
GeneralRe: WTL splitters not sending WM_SIZE to both panes Pin
Kibble21-Apr-03 8:00
Kibble21-Apr-03 8:00 
GeneralDawing image to client device context in ATL Pin
itay_k17-Apr-03 1:11
itay_k17-Apr-03 1:11 
GeneralRe: Dawing image to client device context in ATL Pin
Paolo Messina18-Apr-03 6:14
professionalPaolo Messina18-Apr-03 6:14 
GeneralRe: Dawing image to client device context in ATL Pin
itay_k19-Apr-03 8:30
itay_k19-Apr-03 8:30 
GeneralShowWindow and DoModal Pin
super16-Apr-03 18:45
professionalsuper16-Apr-03 18:45 
Hi Guys,
I have a small doubt..In the following code im creating a window and then displaying as modelless using ShowWindow..
<br />
        CMyWindow wnd;<br />
	RECT rect;<br />
	rect.top=0;<br />
	rect.left=0;<br />
	rect.bottom = 0;<br />
	rect.right = 0;<br />
	wnd.Create( NULL,rect, _T("Hidden_Window"),WS_OVERLAPPEDWINDOW);<br />
        wnd.ShowWindow(SW_HIDE);<br />
        CMainDlg dlgMain;<br />
        if(dlgMain.Create(wnd.m_hWnd) == NULL)<br />
	{<br />
		ATLTRACE(_T("Main dialog creation failed!\n"));<br />
		return 0;<br />
	}<br />
	<big>dlgMain.ShowWindow(nCmdShow);</big><br />
<br />

MainDlg is a child of Wnd(which is hidden)..Now this works fine but the problem is that now i want it as Modal Dialog..So if i replace ShowWindow by DoModal
I get assertion failure saying that handle of created window is null..
So any idea..

cheers,
Super
------------------------------------------
Too much of good is bad,mix some evil in it
GeneralRe: ShowWindow and DoModal Pin
Stephane Rodriguez.16-Apr-03 18:53
Stephane Rodriguez.16-Apr-03 18:53 
Generalproblem with STL map, string (ignore earlier post) Pin
Matthew Fleming15-Apr-03 7:49
Matthew Fleming15-Apr-03 7:49 
GeneralRe: problem with STL map, string (ignore earlier post) Pin
Joaquín M López Muñoz15-Apr-03 8:03
Joaquín M López Muñoz15-Apr-03 8:03 
GeneralRe: problem with STL map, string (ignore earlier post) Pin
Matthew Fleming15-Apr-03 8:13
Matthew Fleming15-Apr-03 8:13 
GeneralRe: problem with STL map, string (ignore earlier post) Pin
Mike Dimmick16-Apr-03 4:17
Mike Dimmick16-Apr-03 4:17 
GeneralRe: problem with STL map, string (ignore earlier post) Pin
Matthew Fleming16-Apr-03 6:30
Matthew Fleming16-Apr-03 6:30 
GeneralRe: problem with STL map, string (ignore earlier post) Pin
Matthew Fleming16-Apr-03 6:32
Matthew Fleming16-Apr-03 6:32 
GeneralRe: problem with STL map, string (ignore earlier post) Pin
Mike Dimmick16-Apr-03 23:43
Mike Dimmick16-Apr-03 23:43 
Generalproblem with STL map, string Pin
Matthew Fleming15-Apr-03 7:48
Matthew Fleming15-Apr-03 7:48 
GeneralRe: problem with STL map, string Pin
valikac16-Apr-03 5:38
valikac16-Apr-03 5:38 
QuestionWhy the function istringstream.getline is not working? Pin
George215-Apr-03 3:56
George215-Apr-03 3:56 
AnswerRe: Why the function istringstream.getline is not working? Pin
Tim Smith15-Apr-03 4:47
Tim Smith15-Apr-03 4:47 
GeneralRe: Why the function istringstream.getline is not working? Pin
George215-Apr-03 16:06
George215-Apr-03 16:06 
GeneralRe: Why the function istringstream.getline is not working? Pin
Tim Smith16-Apr-03 2:17
Tim Smith16-Apr-03 2:17 
GeneralRe: Why the function istringstream.getline is not working? Pin
George217-Apr-03 15:41
George217-Apr-03 15:41 
QuestionHow to use ActiveX controls in WTL? Pin
Ernesto D.14-Apr-03 14:02
Ernesto D.14-Apr-03 14:02 
AnswerRe: How to use ActiveX controls in WTL? Pin
Stephane Rodriguez.14-Apr-03 21:33
Stephane Rodriguez.14-Apr-03 21:33 

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.