Click here to Skip to main content
15,890,123 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Searching for help on-line Pin
mark novak28-Jul-05 1:03
mark novak28-Jul-05 1:03 
GeneralProblems with Task Scheduler Pin
beedub27-Jul-05 23:21
beedub27-Jul-05 23:21 
GeneralRe: Problems with Task Scheduler Pin
mark novak28-Jul-05 0:46
mark novak28-Jul-05 0:46 
GeneralRe: Problems with Task Scheduler Pin
David Crow28-Jul-05 5:19
David Crow28-Jul-05 5:19 
GeneralRe: Problems with Task Scheduler Pin
beedub28-Jul-05 6:17
beedub28-Jul-05 6:17 
GeneralRe: Problems with Task Scheduler Pin
David Crow28-Jul-05 8:57
David Crow28-Jul-05 8:57 
QuestionHow to make a splitted frame? Pin
Olgun27-Jul-05 23:01
Olgun27-Jul-05 23:01 
AnswerRe: How to make a splitted frame? Pin
Mohammed F. Salem28-Jul-05 0:30
Mohammed F. Salem28-Jul-05 0:30 
How can I create a simple splitted frame?

if u want to create splitted frame
at the beginning of MFC application wizard select SDI option

and after that at step 5 of 6
select the Base class CView

and create virtual function OnCreateClient() for the class CMainFrame

and intilalize boolean variable at the class and give it false value at hte constructor
after u created it delete all the code of OnCreateClient() function and write this instead

if ( !m_mainSplitter.CreateStatic( this, 1, 2 ) )<br />
{<br />
	MessageBox( "Error setting up m_mainSplitter", "ERROR", MB_OK | MB_ICONERROR );<br />
	return false;<br />
}<br />
// The views for each pane must be created <br />
if ( !m_mainSplitter.CreateView( 0,0,RUNTIME_CLASS(CLeftView),CSize(255, 0), pContext ) )<br />
{<br />
        //CLeftView ur leftview class<br />
	MessageBox( "Error setting up splitter view", "ERROR", MB_OK | MB_ICONERROR );<br />
	return false;<br />
}<br />
if ( !m_mainSplitter.CreateView( 0, 1, RUNTIME_CLASS(CRightView),CSize(0, 0),Context ) )<br />
{<br />
        //CRightViewur rightview class<br />
	MessageBox( "Error setting up splitter view", "ERROR", MB_OK | MB_ICONERROR );<br />
	return false;<br />
}<br />
//change flag to show splitter created<br />
m_bInitSplitter = true;<br />
//return TRUE instead of the parent method since that would<br />
//not show our window<br />
       return true;




MFC programmer
GeneralRe: How to make a splitted frame? Pin
David Crow28-Jul-05 5:24
David Crow28-Jul-05 5:24 
GeneralRe: How to make a splitted frame? Pin
Olgun28-Jul-05 23:23
Olgun28-Jul-05 23:23 
QuestionHow do i convert CString from MFC application to String in Win32 application Pin
santoshskulkarni27-Jul-05 20:46
santoshskulkarni27-Jul-05 20:46 
AnswerRe: How do i convert CString from MFC application to String in Win32 application Pin
Bob Stanneveld27-Jul-05 21:06
Bob Stanneveld27-Jul-05 21:06 
GeneralRe: How do i convert CString from MFC application to String in Win32 application Pin
santoshskulkarni27-Jul-05 22:14
santoshskulkarni27-Jul-05 22:14 
GeneralRe: How do i convert CString from MFC application to String in Win32 application Pin
Bob Stanneveld27-Jul-05 22:55
Bob Stanneveld27-Jul-05 22:55 
GeneralRe: How do i convert CString from MFC application to String in Win32 application Pin
santoshskulkarni28-Jul-05 0:58
santoshskulkarni28-Jul-05 0:58 
GeneralRe: How do i convert CString from MFC application to String in Win32 application Pin
John R. Shaw28-Jul-05 5:30
John R. Shaw28-Jul-05 5:30 
GeneralCView and Dialog Pin
Mohammed F. Salem27-Jul-05 20:35
Mohammed F. Salem27-Jul-05 20:35 
GeneralRe: CView and Dialog Pin
Cool Ju27-Jul-05 21:18
Cool Ju27-Jul-05 21:18 
GeneralRe: CView and Dialog Pin
Mohammed F. Salem27-Jul-05 22:22
Mohammed F. Salem27-Jul-05 22:22 
GeneralRe: CView and Dialog Pin
Cool Ju27-Jul-05 23:09
Cool Ju27-Jul-05 23:09 
GeneralRe: CView and Dialog Pin
Mohammed F. Salem27-Jul-05 23:58
Mohammed F. Salem27-Jul-05 23:58 
GeneralRe: CView and Dialog Pin
Satishkumar.B28-Jul-05 1:58
Satishkumar.B28-Jul-05 1:58 
GeneralRe: CView and Dialog Pin
Mohammed F. Salem28-Jul-05 2:32
Mohammed F. Salem28-Jul-05 2:32 
GeneralRe: CView and Dialog Pin
David Crow28-Jul-05 5:34
David Crow28-Jul-05 5:34 
GeneralRe: CView and Dialog Pin
David Crow28-Jul-05 5:31
David Crow28-Jul-05 5:31 

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.