Click here to Skip to main content
15,915,611 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: Capturing Events Pin
Logan from Singapore22-Nov-05 14:18
Logan from Singapore22-Nov-05 14:18 
GeneralRe: Capturing Events Pin
Lim Bio Liong22-Nov-05 15:53
Lim Bio Liong22-Nov-05 15:53 
GeneralRe: Capturing Events Pin
Logan from Singapore22-Nov-05 16:08
Logan from Singapore22-Nov-05 16:08 
GeneralRe: Capturing Events Pin
Lim Bio Liong22-Nov-05 16:21
Lim Bio Liong22-Nov-05 16:21 
GeneralRe: Capturing Events Pin
ThatsAlok4-Dec-05 21:32
ThatsAlok4-Dec-05 21:32 
GeneralRe: Capturing Events Pin
Lim Bio Liong5-Dec-05 2:48
Lim Bio Liong5-Dec-05 2:48 
GeneralRe: Capturing Events Pin
ThatsAlok5-Dec-05 21:31
ThatsAlok5-Dec-05 21:31 
QuestionException in ::ShowWindow/WM_SYNCPAINT handler when using WTL rebar Pin
kamrann20-Nov-05 8:53
kamrann20-Nov-05 8:53 
Could someone tell me what I may be doing wrong with my rebar usage here. I have a multi-threaded SDI app with the auto-generated rebar in the frame window. I want to add a band with a generic window or dialog as its child window. So I have something like this in my frame window's OnCreate:

CMyRebarWindow rbw;
rbw.Create(m_hWnd);
AddSimpleReBarBand(rbw, _T("Title"));
rbw.Detach();

For the CMyRebarWindow class I've tried just basically empty derived classes from CWindowImpl<> and CDialogImpl<>. I get an access violation somewhere deep into the Win32 ::ShowWindow function call for the frame window, possibly related to the WM_SYNCPAINT message (I say this because every so often the debugger stops in a different place, somewhere in the handling of this message. If I replace the CMyRebarWindow with, for example, a CComboBox, everything is fine.

Are there some restrictions on the type of windows you can use within a rebar band? Any ideas what is causing this? I realise it may be something stupid since I've just started using WTL.

On a side note, can someone explain what happens with command and notification messages from controls in rebar bands - I noticed that with a CCombo box in there, the command messages that came through to the frame window, like CBN_SELENDOK for example, came not with the correct ID of the combo box, but with an ID of 1 for some reason.

Any help on any of this would be much appreciated. Thanks.
Questionunhandle exception(8000ffff) while acceing ocx methods Pin
Rajesh match18-Nov-05 21:10
Rajesh match18-Nov-05 21:10 
AnswerRe: unhandle exception(8000ffff) while acceing ocx methods Pin
Michael Dunn19-Nov-05 15:18
sitebuilderMichael Dunn19-Nov-05 15:18 
AnswerRe: unhandle exception(8000ffff) while acceing ocx methods Pin
JonEngle6-Dec-05 19:16
JonEngle6-Dec-05 19:16 
QuestionHow to access method of user define control from ATL Pin
rajesh_kapure16-Nov-05 3:54
rajesh_kapure16-Nov-05 3:54 
QuestionUsing ActiveX without container Pin
Ahsan Askare14-Nov-05 23:33
Ahsan Askare14-Nov-05 23:33 
QuestionHow do you know the duplicate key insertion in STL map Pin
sarath_babu13-Nov-05 20:23
sarath_babu13-Nov-05 20:23 
AnswerRe: How do you know the duplicate key insertion in STL map Pin
Jonas Larsson13-Nov-05 21:50
Jonas Larsson13-Nov-05 21:50 
GeneralRe: How do you know the duplicate key insertion in STL map Pin
sarath_babu14-Nov-05 0:09
sarath_babu14-Nov-05 0:09 
GeneralRe: How do you know the duplicate key insertion in STL map Pin
Jonas Larsson14-Nov-05 1:50
Jonas Larsson14-Nov-05 1:50 
GeneralRe: How do you know the duplicate key insertion in STL map Pin
Stuart Dootson15-Nov-05 6:53
professionalStuart Dootson15-Nov-05 6:53 
GeneralRe: How do you know the duplicate key insertion in STL map Pin
Jörgen Sigvardsson15-Nov-05 9:59
Jörgen Sigvardsson15-Nov-05 9:59 
GeneralRe: How do you know the duplicate key insertion in STL map Pin
Stuart Dootson15-Nov-05 19:54
professionalStuart Dootson15-Nov-05 19:54 
GeneralRe: How do you know the duplicate key insertion in STL map Pin
Jörgen Sigvardsson15-Nov-05 21:14
Jörgen Sigvardsson15-Nov-05 21:14 
GeneralRe: How do you know the duplicate key insertion in STL map Pin
Stuart Dootson15-Nov-05 21:24
professionalStuart Dootson15-Nov-05 21:24 
GeneralRe: How do you know the duplicate key insertion in STL map Pin
Tim Smith23-Nov-05 4:05
Tim Smith23-Nov-05 4:05 
QuestionCommand Line AND a window? Pin
micr0chip12-Nov-05 1:40
micr0chip12-Nov-05 1:40 
AnswerRe: Command Line AND a window? Pin
Michael Dunn13-Nov-05 12:54
sitebuilderMichael Dunn13-Nov-05 12:54 

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.