Click here to Skip to main content
15,913,027 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow can I avoid a window get the focus ? Pin
Cris7-Nov-02 2:43
Cris7-Nov-02 2:43 
AnswerRe: How can I avoid a window get the focus ? Pin
includeh107-Nov-02 2:53
includeh107-Nov-02 2:53 
GeneralRe: How can I avoid a window get the focus ? Pin
Cris7-Nov-02 7:30
Cris7-Nov-02 7:30 
GeneralRe: How can I avoid a window get the focus ? Pin
includeh107-Nov-02 8:30
includeh107-Nov-02 8:30 
GeneralRe: How can I avoid a window get the focus ? Pin
Cris8-Nov-02 0:17
Cris8-Nov-02 0:17 
GeneralRe: How can I avoid a window get the focus ? Pin
includeh108-Nov-02 1:25
includeh108-Nov-02 1:25 
GeneralRe: How can I avoid a window get the focus ? Pin
Cris8-Nov-02 1:36
Cris8-Nov-02 1:36 
GeneralCListCtrl Oddity Pin
Richard Green7-Nov-02 2:02
Richard Green7-Nov-02 2:02 
'ello,
I have a problem with a CListView derived class, it refuses to show the Header control when in report view. I've tried a few things including commenting out all except
GetListCtrl().MofifyStyle(LVS_TYPEMASK,LVS_REPORT);<br />
GetListCtrl().InsertColumn(0,"Test",LVCFMT_LEFT,100);

in OnInitalUpdate().

The app is a appwizard produced SDI app with the "Windows Explorer" option enabled" and has the Listview view options buttons on the toolbar, the selected mode shows as the Details mode when the app starts but the CHeaderCtrl() is never created ( GetListCtrl()->GetHeaderCtrl() returns NULL ).

Another appwizard produced app with all the same modes works ok, anyone else as confused as me? WTF | :WTF:
[EDIT]
Never mInd i forgot to delete the defualt (empty) implmentation of OnStyleChanged [/EDIT]
Richard Green
GeneralLowLevelMouseProc Pin
Gleb7-Nov-02 0:58
Gleb7-Nov-02 0:58 
GeneralRe: LowLevelMouseProc Pin
Stephane Rodriguez.7-Nov-02 1:52
Stephane Rodriguez.7-Nov-02 1:52 
GeneralRegisterWindowMessage vs. WM_USER Pin
Alexinuk7-Nov-02 0:30
Alexinuk7-Nov-02 0:30 
GeneralRe: RegisterWindowMessage vs. WM_USER Pin
jhwurmbach7-Nov-02 1:21
jhwurmbach7-Nov-02 1:21 
GeneralRe: RegisterWindowMessage vs. WM_USER Pin
Alexinuk7-Nov-02 1:26
Alexinuk7-Nov-02 1:26 
GeneralRe: RegisterWindowMessage vs. WM_USER Pin
jhwurmbach7-Nov-02 1:34
jhwurmbach7-Nov-02 1:34 
GeneralRe: RegisterWindowMessage vs. WM_USER Pin
Tim Smith7-Nov-02 2:44
Tim Smith7-Nov-02 2:44 
GeneralRe: RegisterWindowMessage vs. WM_USER Pin
Alexandru Savescu7-Nov-02 2:48
Alexandru Savescu7-Nov-02 2:48 
GeneralRe: RegisterWindowMessage vs. WM_USER Pin
Alexinuk7-Nov-02 2:53
Alexinuk7-Nov-02 2:53 
GeneralComplex String Comparison Pin
James Spibey7-Nov-02 0:15
James Spibey7-Nov-02 0:15 
GeneralRe: Complex String Comparison Pin
Daniel Turini7-Nov-02 0:23
Daniel Turini7-Nov-02 0:23 
GeneralRe: Complex String Comparison Pin
James Spibey7-Nov-02 0:42
James Spibey7-Nov-02 0:42 
GeneralRe: Complex String Comparison Pin
jhwurmbach7-Nov-02 1:35
jhwurmbach7-Nov-02 1:35 
GeneralHelp! about PreTranslateMessage Pin
Simon.W7-Nov-02 0:05
Simon.W7-Nov-02 0:05 
GeneralRe: Help! about PreTranslateMessage Pin
includeh107-Nov-02 3:09
includeh107-Nov-02 3:09 
GeneralRe: Help! about PreTranslateMessage Pin
Simon.W9-Nov-02 0:23
Simon.W9-Nov-02 0:23 
GeneralSELECT ... FOR XML AUTO Pin
Alexandru Savescu6-Nov-02 23:37
Alexandru Savescu6-Nov-02 23:37 

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.