Click here to Skip to main content
15,891,939 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questiondisabling ctrl+scrolllock in my application Pin
VCProgrammer29-Nov-11 22:39
VCProgrammer29-Nov-11 22:39 
AnswerRe: disabling ctrl+scrolllock in my application Pin
Software_Developer29-Nov-11 23:27
Software_Developer29-Nov-11 23:27 
GeneralRe: disabling ctrl+scrolllock in my application Pin
David Crow30-Nov-11 2:50
David Crow30-Nov-11 2:50 
AnswerRe: disabling ctrl+scrolllock in my application Pin
VCProgrammer30-Nov-11 21:18
VCProgrammer30-Nov-11 21:18 
GeneralRe: disabling ctrl+scrolllock in my application Pin
David Crow1-Dec-11 4:06
David Crow1-Dec-11 4:06 
QuestionResize Split Window Pin
Manula Thantriwatte29-Nov-11 18:29
Manula Thantriwatte29-Nov-11 18:29 
QuestionRe: Resize Split Window Pin
Richard MacCutchan29-Nov-11 21:30
mveRichard MacCutchan29-Nov-11 21:30 
AnswerRe: Resize Split Window Pin
Software_Developer30-Nov-11 3:47
Software_Developer30-Nov-11 3:47 
Invoke a Call to the function CSplitterWnd::SetColumnInfo to set the specified column size.
Invoke a Call to the function CSplitterWnd::SetRowInfo to set the specified row size.
Invoke a Call to the function CSplitterWnd::RecalcLayout redisplay the splitter window after adjusting row or column size.

MSDN docs: [CSplitterWnd::SetColumnInfo] and [CSplitterWnd::SetRowInfo] and [CSplitterWnd::RecalcLayout].

Sample code:
C#
void CMyFrame::OnSize(UINT nType, int cx, int cy) 
{
	if(::IsWindow(m_wndSplitter.m_hWnd) && ::IsWindow(m_wndSplitter2.m_hWnd))
	{
		m_wndSplitter.SetRowInfo(0, cy*2/3, 10);
		m_wndSplitter.SetRowInfo(1, cy/3, 10);

		m_wndSplitter2.SetColumnInfo(0, cx/4, 10);
		m_wndSplitter2.SetColumnInfo(1, cx*3/4, 10);

		RecalcLayout();
	}
}

QuestionI c++ win32 version of vb string.contain Pin
jkirkerx28-Nov-11 6:54
professionaljkirkerx28-Nov-11 6:54 
AnswerRe: c++ win32 version of vb string.contain Pin
Chris Losinger28-Nov-11 7:14
professionalChris Losinger28-Nov-11 7:14 
GeneralRe: c++ win32 version of vb string.contain Pin
jkirkerx28-Nov-11 7:28
professionaljkirkerx28-Nov-11 7:28 
GeneralRe: c++ win32 version of vb string.contain Pin
Chris Losinger28-Nov-11 7:45
professionalChris Losinger28-Nov-11 7:45 
GeneralRe: c++ win32 version of vb string.contain Pin
jkirkerx28-Nov-11 8:09
professionaljkirkerx28-Nov-11 8:09 
AnswerRe: I c++ win32 version of vb string.contain Pin
Erudite_Eric28-Nov-11 7:20
Erudite_Eric28-Nov-11 7:20 
GeneralRe: I c++ win32 version of vb string.contain Pin
jkirkerx28-Nov-11 7:25
professionaljkirkerx28-Nov-11 7:25 
GeneralRe: I c++ win32 version of vb string.contain Pin
Erudite_Eric29-Nov-11 6:54
Erudite_Eric29-Nov-11 6:54 
GeneralRe: I c++ win32 version of vb string.contain Pin
jkirkerx29-Nov-11 8:47
professionaljkirkerx29-Nov-11 8:47 
QuestionInstalling Unsigned Driver in x64 systems [SOLVED] Pin
vishalgpt28-Nov-11 4:21
vishalgpt28-Nov-11 4:21 
AnswerRe: Installing Unsigned Driver in x64 systems Pin
«_Superman_»28-Nov-11 5:07
professional«_Superman_»28-Nov-11 5:07 
GeneralRe: Installing Unsigned Driver in x64 systems Pin
vishalgpt29-Nov-11 1:10
vishalgpt29-Nov-11 1:10 
GeneralRe: Installing Unsigned Driver in x64 systems Pin
«_Superman_»29-Nov-11 3:50
professional«_Superman_»29-Nov-11 3:50 
GeneralRe: Installing Unsigned Driver in x64 systems Pin
vishalgpt3-Dec-11 7:02
vishalgpt3-Dec-11 7:02 
GeneralRe: Installing Unsigned Driver in x64 systems Pin
vishalgpt3-Dec-11 7:04
vishalgpt3-Dec-11 7:04 
GeneralRe: Installing Unsigned Driver in x64 systems Pin
«_Superman_»3-Dec-11 17:06
professional«_Superman_»3-Dec-11 17:06 
QuestionDrive Info Pin
john563227-Nov-11 22:06
john563227-Nov-11 22:06 

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.