Click here to Skip to main content
15,907,149 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: rounding Pin
John R. Shaw31-May-04 21:17
John R. Shaw31-May-04 21:17 
GeneralCAsyncSocket Pin
Archer28231-May-04 18:00
Archer28231-May-04 18:00 
GeneralRe: CAsyncSocket Pin
FASTian31-May-04 21:57
FASTian31-May-04 21:57 
Generalquestion Pin
Archer28231-May-04 17:57
Archer28231-May-04 17:57 
GeneralRe: question Pin
f6431-May-04 19:18
f6431-May-04 19:18 
QuestionDetect SD card ? Pin
bryce31-May-04 15:09
bryce31-May-04 15:09 
AnswerRe: Detect SD card ? Pin
bryce31-May-04 19:41
bryce31-May-04 19:41 
GeneralRebar problem Pin
Maarten Kools31-May-04 14:24
professionalMaarten Kools31-May-04 14:24 
Hi. I'm implementing a rebar in my application, and I'm adding three dialogs from a resource template.

All of these are fairly small, and I'd like 'em to be aligned all the way to the left.

Now, the problem is, the first band.. wait, let me go from the right to the left, it's easier.

The last and middle dialog are the right sizes. But the first one is aligned left, then fills up all the space until the next two dialogs, here's a picture: Picture

This is the code used to create the rebar and each of the bands:
// Create the toolbars
m_wndReBar.Create( this);
m_wndDocTools.Create( CDocumentTools::IDD, &m_wndReBar);
m_wndDocInfo.Create( CDocumentInfo::IDD, &m_wndReBar);
m_wndDocView.Create( CDocumentView::IDD, &m_wndReBar);

m_wndReBar.AddBar( &m_wndDocTools, NULL, NULL, RBBS_FIXEDSIZE | RBBS_FIXEDBMP);
m_wndReBar.AddBar( &m_wndDocInfo, NULL, NULL, RBBS_FIXEDSIZE | RBBS_FIXEDBMP);
m_wndReBar.AddBar( &m_wndDocView, NULL, NULL, RBBS_FIXEDSIZE | RBBS_FIXEDBMP);

GeneralCreate the CWnd Pin
TrungHuynh31-May-04 13:12
TrungHuynh31-May-04 13:12 
GeneralRe: Create the CWnd Pin
Maarten Kools31-May-04 14:27
professionalMaarten Kools31-May-04 14:27 
GeneralRe: Create the CWnd Pin
Diddy1-Jun-04 1:49
Diddy1-Jun-04 1:49 
Generalimage processing Pin
giti31-May-04 11:18
giti31-May-04 11:18 
Generalmultiple RPCs in one process. Pin
leonmccalla@hotmail.com31-May-04 9:36
leonmccalla@hotmail.com31-May-04 9:36 
GeneralThread Handle Query Pin
Nirav Doshi31-May-04 9:30
Nirav Doshi31-May-04 9:30 
GeneralRe: Thread Handle Query Pin
Michael Dunn31-May-04 12:26
sitebuilderMichael Dunn31-May-04 12:26 
GeneralRe: Thread Handle Query Pin
Nirav Doshi31-May-04 20:39
Nirav Doshi31-May-04 20:39 
GeneralRe: Thread Handle Query Pin
Diddy1-Jun-04 1:54
Diddy1-Jun-04 1:54 
GeneralRe: Thread Handle Query Pin
Nirav Doshi1-Jun-04 2:13
Nirav Doshi1-Jun-04 2:13 
GeneralRe: Thread Handle Query Pin
Diddy1-Jun-04 5:10
Diddy1-Jun-04 5:10 
GeneralRe: Thread Handle Query Pin
Nirav Doshi1-Jun-04 8:03
Nirav Doshi1-Jun-04 8:03 
GeneralRe: Thread Handle Query Pin
Diddy1-Jun-04 10:27
Diddy1-Jun-04 10:27 
GeneralCostom Draw Problem!!! Pin
VirgoCI31-May-04 8:24
VirgoCI31-May-04 8:24 
GeneralRe: Costom Draw Problem!!! Pin
Antti Keskinen31-May-04 11:46
Antti Keskinen31-May-04 11:46 
GeneralRe: Costom Draw Problem!!! Pin
VirgoCI31-May-04 17:48
VirgoCI31-May-04 17:48 
Generalsmtp question Pin
includeh1031-May-04 8:16
includeh1031-May-04 8:16 

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.