Click here to Skip to main content
15,887,746 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow do you get the ScrollBar Width Pin
littleGreenDude5-Oct-07 10:12
littleGreenDude5-Oct-07 10:12 
AnswerRe: How do you get the ScrollBar Width Pin
Mark Salsbery5-Oct-07 12:16
Mark Salsbery5-Oct-07 12:16 
Questionwhat is ENSURE_THROW? [modified] Pin
DreamMengJian5-Oct-07 6:25
DreamMengJian5-Oct-07 6:25 
QuestionShowWindow Command Problems Pin
Beaon5-Oct-07 6:02
Beaon5-Oct-07 6:02 
AnswerRe: ShowWindow Command Problems Pin
IMNOOPR5-Oct-07 6:22
IMNOOPR5-Oct-07 6:22 
GeneralRe: ShowWindow Command Problems Pin
Beaon5-Oct-07 7:14
Beaon5-Oct-07 7:14 
QuestionRe: ShowWindow Command Problems Pin
Mark Salsbery5-Oct-07 7:48
Mark Salsbery5-Oct-07 7:48 
AnswerRe: ShowWindow Command Problems Pin
Beaon5-Oct-07 8:06
Beaon5-Oct-07 8:06 
Yea I have m_hWnd as my main window. I'm passing these styles apon its creation.


WS_OVERLAPPEDWINDOW|WS_VISIBLE
This gets passed into a win32 wrapper class constructor and is saved to m_dwStyles;

Here is my extended style

WS_EX_CLIENTEDGE

m_hWnd = CreateWindowEx (WS_EX_CLIENTEDGE,<br />
                         m_pClassName, m_pWindowTitle,<br />
                         m_dwStyles,<br />
                         m_pRect->left,<br />
                         m_pRect->top,<br />
                         m_pRect->right-m_pRect->left,<br />
                         m_pRect->bottom-m_pRect->top,<br />
                         NULL, <br />
                         m_hMenu,<br />
                         m_hInstance, <br />
                         (void *)this);


Mark you always seem to save me! Hope you have some ideas for this one. Thank you sir. =)

Cliff
GeneralRe: ShowWindow Command Problems Pin
Mark Salsbery5-Oct-07 8:11
Mark Salsbery5-Oct-07 8:11 
GeneralRe: ShowWindow Command Problems Pin
Beaon5-Oct-07 8:31
Beaon5-Oct-07 8:31 
GeneralRe: ShowWindow Command Problems Pin
Mark Salsbery5-Oct-07 9:50
Mark Salsbery5-Oct-07 9:50 
GeneralRe: ShowWindow Command Problems Pin
Beaon5-Oct-07 10:57
Beaon5-Oct-07 10:57 
GeneralRe: ShowWindow Command Problems Pin
David Crow6-Oct-07 3:35
David Crow6-Oct-07 3:35 
GeneralRe: ShowWindow Command Problems Pin
Beaon7-Oct-07 8:36
Beaon7-Oct-07 8:36 
AnswerRe: ShowWindow Command Problems [modified] Pin
Beaon8-Oct-07 3:31
Beaon8-Oct-07 3:31 
AnswerRe: ShowWindow Command Problems Pin
David Crow5-Oct-07 8:02
David Crow5-Oct-07 8:02 
GeneralRe: ShowWindow Command Problems Pin
Beaon5-Oct-07 8:20
Beaon5-Oct-07 8:20 
QuestionAnti-Grain question Pin
Richard Blythe5-Oct-07 4:29
Richard Blythe5-Oct-07 4:29 
AnswerRe: Anti-Grain question Pin
Maximilien5-Oct-07 5:35
Maximilien5-Oct-07 5:35 
QuestionProblems with CreateDesktop Pin
GauranG Shah5-Oct-07 4:17
GauranG Shah5-Oct-07 4:17 
QuestionVC8 and stingray DLL issue Pin
OmniX5-Oct-07 3:42
OmniX5-Oct-07 3:42 
QuestionSomething about CxImage class Pin
Jane1315-Oct-07 2:52
Jane1315-Oct-07 2:52 
QuestionRe: Something about CxImage class Pin
Hamid_RT5-Oct-07 3:01
Hamid_RT5-Oct-07 3:01 
AnswerRe: Something about CxImage class Pin
Jane1316-Oct-07 1:39
Jane1316-Oct-07 1:39 
GeneralRe: Something about CxImage class Pin
Hamid_RT6-Oct-07 19:24
Hamid_RT6-Oct-07 19:24 

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.