Click here to Skip to main content
15,889,216 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: MSComm Pin
Member 42102514-May-04 14:42
Member 42102514-May-04 14:42 
GeneralRe: MSComm Pin
Anonymous15-May-04 4:24
Anonymous15-May-04 4:24 
Questionhow to get current identity Pin
ravjak14-May-04 4:23
ravjak14-May-04 4:23 
AnswerRe: how to get current identity Pin
David Crow14-May-04 5:23
David Crow14-May-04 5:23 
GeneralCTreeCtrl display problem Pin
#realJSOP14-May-04 4:02
mve#realJSOP14-May-04 4:02 
GeneralRe: CTreeCtrl display problem Pin
Antony M Kancidrowski14-May-04 4:27
Antony M Kancidrowski14-May-04 4:27 
GeneralRe: CTreeCtrl display problem Pin
#realJSOP14-May-04 4:30
mve#realJSOP14-May-04 4:30 
GeneralRe: CTreeCtrl display problem Pin
Michael Dunn14-May-04 7:06
sitebuilderMichael Dunn14-May-04 7:06 
John Simmons / outlaw programmer wrote:
If I expand the tree items to the point that either a horizontal or vertical scrollbar is displayed, the 3D appearnce magically appears

That sounds like the non-client area isn't getting calculated or painted properly. When the scrollbars are added, they go in the non-client area and force a recalc/repaint, which also makes the border appear.
Try calling:
tree.SetWindowPos ( NULL, 0, 0, 0, 0, SWP_NOZORDER|SWP_NOMOVE|SWP_NOSIZE|SWP_FRAMECHANGED );
SWP_FRAMECHANGED is the important flag, that will make the control recalc its non-client area.

--Mike--
Personal stuff:: Ericahist | Homepage
Shareware stuff:: 1ClickPicGrabber | RightClick-Encrypt
CP stuff:: CP SearchBar v2.0.2 | C++ Forum FAQ

----
I even hear the Windows "OMG I booted up fine" sound.
  -- Paul Watson diagnosing hardware problems.

GeneralRe: CTreeCtrl display problem Pin
#realJSOP14-May-04 7:21
mve#realJSOP14-May-04 7:21 
GeneralRe: CTreeCtrl display problem Pin
Michael Dunn14-May-04 13:49
sitebuilderMichael Dunn14-May-04 13:49 
GeneralFont color in Dialogs Pin
Rafael Fernández López14-May-04 3:39
Rafael Fernández López14-May-04 3:39 
GeneralRe: Font color in Dialogs Pin
ravjak14-May-04 4:28
ravjak14-May-04 4:28 
GeneralRe: Font color in Dialogs Pin
Roger Allen14-May-04 6:05
Roger Allen14-May-04 6:05 
GeneralRe: Font color in Dialogs Pin
RChin14-May-04 4:55
RChin14-May-04 4:55 
GeneralHelp? C++ Macros in EXCEL Pin
culz14-May-04 3:18
culz14-May-04 3:18 
GeneralRe: Help? C++ Macros in EXCEL Pin
David Crow14-May-04 4:23
David Crow14-May-04 4:23 
GeneralRe: Help? C++ Macros in EXCEL Pin
f6414-May-04 7:38
f6414-May-04 7:38 
GeneralRe: Help? C++ Macros in EXCEL Pin
culz15-May-04 4:54
culz15-May-04 4:54 
QuestionHow to pass a string from c++ to c# Pin
peraonline14-May-04 2:50
peraonline14-May-04 2:50 
AnswerRe: How to pass a string from c++ to c# Pin
Mike Dimmick14-May-04 5:20
Mike Dimmick14-May-04 5:20 
GeneralRe: How to pass a string from c++ to c# Pin
peraonline17-May-04 22:41
peraonline17-May-04 22:41 
GeneralProcess monitor.... Pin
jothi14-May-04 1:28
jothi14-May-04 1:28 
GeneralRe: Process monitor.... Pin
Anthony_Yio14-May-04 1:34
Anthony_Yio14-May-04 1:34 
GeneralRe: Process monitor.... Pin
jothi18-May-04 20:31
jothi18-May-04 20:31 
GeneralRe: Process monitor.... Pin
Anthony_Yio18-May-04 21:54
Anthony_Yio18-May-04 21: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.