Click here to Skip to main content
15,902,922 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Need Help fast 1 day late Pin
jss67200115-Apr-04 12:27
jss67200115-Apr-04 12:27 
GeneralRe: Need Help fast 1 day late Pin
PJ Arends15-Apr-04 12:29
professionalPJ Arends15-Apr-04 12:29 
Generalexcutable file location Pin
Anonymous15-Apr-04 11:53
Anonymous15-Apr-04 11:53 
GeneralRe: excutable file location Pin
PJ Arends15-Apr-04 12:22
professionalPJ Arends15-Apr-04 12:22 
GeneralRe: excutable file location Pin
Michael Dunn15-Apr-04 15:30
sitebuilderMichael Dunn15-Apr-04 15:30 
GeneralRe: excutable file location Pin
Anonymous16-Apr-04 2:54
Anonymous16-Apr-04 2:54 
GeneralDebug MFC Pin
Member 61706715-Apr-04 11:21
Member 61706715-Apr-04 11:21 
QuestionCSplitterWnd - bug??? Pin
_-:: PhOeNiX ::-_15-Apr-04 10:34
_-:: PhOeNiX ::-_15-Apr-04 10:34 
I wanted to make a look something like this:
_________________
|************|**|
|************|**|
_________________ <- I can't get this splitter bar
|***************| (m_splitterWnd) to his right position
_________________ I've set the sizes right, but it doesn't work

The strange thing is that if I change the layout to:
____________________
|*****************|
___________________
|**************|**|
|**************|**|
____________________
it works... why?Confused | :confused:

Try to explain this code...

<br />
     RECT clientRect;<br />
     GetClientRect(&clientRect);<br />
     int iHeight = clientRect.bottom - clientRect.top,<br />
         iWidth = clientRect.right - clientRect.left;<br />
<br />
<br />
m_wndSplitter.CreateStatic(this, 2, 1, WS_CHILD | WS_VISIBLE, AFX_IDW_PANE_FIRST);<br />
m_wndSplitter1.CreateStatic(&m_wndSplitter, 1, 2, WS_CHILD | WS_VISIBLE,<br />
                            m_wndSplitter.IdFromRowCol(0,0));<br />
m_wndSplitter1.CreateView(0, 0, RUNTIME_CLASS(CEditView),<br />
                          CSize((int)(iWidth * 0.8), (int)(iHeight * 0.7)), pContext);<br />
m_wndSplitter1.CreateView(0, 1, RUNTIME_CLASS(CEditView),<br />
                          CSize((int)(iWidth * 0.2), (int)(iHeight * 0.7)), pContext);<br />
m_wndSplitter.CreateView(1, 0, RUNTIME_CLASS(CEditView),<br />
                         CSize(iWidth, (int)(iHeight*0.3)), pContext);<br />


Thanx... any help will be appreciated

..:: a l i e n ::..
GeneralNeed Urgent C++ help Pin
Anonymous15-Apr-04 10:34
Anonymous15-Apr-04 10:34 
GeneralRe: Need Urgent C++ help Pin
Christian Graus15-Apr-04 11:01
protectorChristian Graus15-Apr-04 11:01 
GeneralRemotely Connecting to SQL Server! Pin
abc87615-Apr-04 9:52
abc87615-Apr-04 9:52 
GeneralVB client for a C++ api Pin
Jim Crafton15-Apr-04 9:48
Jim Crafton15-Apr-04 9:48 
GeneralRe: VB client for a C++ api Pin
Gary R. Wheeler15-Apr-04 11:58
Gary R. Wheeler15-Apr-04 11:58 
GeneralWinApp::OnIdle Pin
_-:: PhOeNiX ::-_15-Apr-04 9:44
_-:: PhOeNiX ::-_15-Apr-04 9:44 
GeneralRe: WinApp::OnIdle Pin
PJ Arends15-Apr-04 11:53
professionalPJ Arends15-Apr-04 11:53 
GeneralSTACKS AND QUES Pin
PDALE15-Apr-04 8:04
PDALE15-Apr-04 8:04 
GeneralRe: STACKS AND QUES Pin
toxcct15-Apr-04 8:16
toxcct15-Apr-04 8:16 
GeneralRe: STACKS AND QUES Pin
Jim Crafton15-Apr-04 10:15
Jim Crafton15-Apr-04 10:15 
GeneralRe: STACKS AND QUES Pin
Jim Crafton15-Apr-04 10:17
Jim Crafton15-Apr-04 10:17 
GeneralMaskededit control Pin
C++NewBe15-Apr-04 7:49
C++NewBe15-Apr-04 7:49 
GeneralRe: Maskededit control Pin
David Crow15-Apr-04 10:14
David Crow15-Apr-04 10:14 
GeneralRe: Maskededit control Pin
C++NewBe15-Apr-04 10:19
C++NewBe15-Apr-04 10:19 
GeneralRe: Maskededit control Pin
David Crow15-Apr-04 10:33
David Crow15-Apr-04 10:33 
GeneralRe: Maskededit control Pin
C++NewBe15-Apr-04 10:42
C++NewBe15-Apr-04 10:42 
GeneralSerialize Pin
Demian Panello15-Apr-04 5:48
Demian Panello15-Apr-04 5:48 

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.