Click here to Skip to main content
15,894,405 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CEdit problem in displaying CR and LF Pin
bhanu_850924-Aug-09 23:16
bhanu_850924-Aug-09 23:16 
GeneralRe: CEdit problem in displaying CR and LF Pin
Cedric Moonen24-Aug-09 23:19
Cedric Moonen24-Aug-09 23:19 
GeneralRe: CEdit problem in displaying CR and LF Pin
bhanu_850925-Aug-09 1:16
bhanu_850925-Aug-09 1:16 
AnswerRe: CEdit problem in displaying CR and LF [modified] Pin
Rajesh R Subramanian25-Aug-09 0:00
professionalRajesh R Subramanian25-Aug-09 0:00 
JokeRe: CEdit problem in displaying CR and LF [modified] Pin
CPallini25-Aug-09 0:44
mveCPallini25-Aug-09 0:44 
GeneralRe: CEdit problem in displaying CR and LF Pin
Rajesh R Subramanian25-Aug-09 0:44
professionalRajesh R Subramanian25-Aug-09 0:44 
JokeRe: CEdit problem in displaying CR and LF Pin
CPallini25-Aug-09 0:49
mveCPallini25-Aug-09 0:49 
QuestionDont update part of dialog window Pin
melinda_mel24-Aug-09 22:48
melinda_mel24-Aug-09 22:48 
Hi,

I have tab control and two cards (dialogs) in tab control. I put my bitmap picture (from resources) in picture control on main dialog window (parent dialog) and I wanna that picture stays underneath tab control dialogs, so when I called next handler (on change tab cards) I wanna that that picture be on same place for both dialogs(child) in tab control. When I activate particular tab the next handler is called :
void Board_TabCtrl::ActivateTabDialogs()
{
	int nSel = GetCurSel();

	if(m_Dialog[nSel]->m_hWnd)
		m_Dialog[nSel]->ShowWindow(SW_HIDE);

	CRect l_rectClient;
	CRect l_rectWnd;

	GetClientRect(l_rectClient);
	AdjustRect(FALSE,l_rectClient);
	GetWindowRect(l_rectWnd);
	GetParent()->ScreenToClient(l_rectWnd);
	l_rectClient.OffsetRect(l_rectWnd.left,l_rectWnd.top);
	for(int nCount=0; nCount < m_nPageCount; nCount++)
	{
		m_Dialog[nCount]->SetWindowPos(&wndTop, l_rectClient.left,l_rectClient.top,l_rectClient.Width(),l_rectClient.Height(),SWP_HIDEWINDOW);
	}
	m_Dialog[nSel]->SetWindowPos(&wndTop,l_rectClient.left,l_rectClient.top,l_rectClient.Width(),l_rectClient.Height(),SWP_SHOWWINDOW);

	m_Dialog[nSel]->ShowWindow(SW_SHOW);
}


But when I change tab card that picture flick because I call ShowWindow(SW_SHOW) i.e ShowWindow(SW_HIDE);
. How can I prevent that picture flick. Is there way to not update part of dialog window or some trick with differernt properties (transparent ....)

PS: What I want is like there is a hole on that picture place on child dialog windows, so that there no be flickering due to calls of ShowWindow(SW_SHOW) i.e. ShowWindow(SW_HIDE) for child dialogs in tab control;

Best regards
AnswerRe: Dont update part of dialog window Pin
Code-o-mat24-Aug-09 23:04
Code-o-mat24-Aug-09 23:04 
Questionhow to use "LDRLoadDll" to load a dll in DDK? Pin
bahareh65524-Aug-09 22:45
bahareh65524-Aug-09 22:45 
AnswerRe: how to use "LDRLoadDll" to load a dll in DDK? Pin
Stuart Dootson24-Aug-09 23:47
professionalStuart Dootson24-Aug-09 23:47 
GeneralRe: how to use "LDRLoadDll" to load a dll in DDK? Pin
bahareh65525-Aug-09 19:38
bahareh65525-Aug-09 19:38 
GeneralRe: how to use "LDRLoadDll" to load a dll in DDK? Pin
Stuart Dootson25-Aug-09 21:00
professionalStuart Dootson25-Aug-09 21:00 
GeneralRe: how to use "LDRLoadDll" to load a dll in DDK? Pin
bahareh65526-Aug-09 8:50
bahareh65526-Aug-09 8:50 
QuestionHow to Write some data at a particular Sector Pin
Shiv Murti Pal24-Aug-09 21:18
Shiv Murti Pal24-Aug-09 21:18 
AnswerRe: How to Write some data at a particular Sector Pin
Iain Clarke, Warrior Programmer24-Aug-09 21:41
Iain Clarke, Warrior Programmer24-Aug-09 21:41 
GeneralRe: How to Write some data at a particular Sector Pin
Shiv Murti Pal24-Aug-09 22:20
Shiv Murti Pal24-Aug-09 22:20 
GeneralRe: How to Write some data at a particular Sector Pin
Michael Schubert25-Aug-09 1:24
Michael Schubert25-Aug-09 1:24 
GeneralRe: OT Pin
Michael Schubert25-Aug-09 1:30
Michael Schubert25-Aug-09 1:30 
GeneralRe: OT Pin
Iain Clarke, Warrior Programmer25-Aug-09 1:49
Iain Clarke, Warrior Programmer25-Aug-09 1:49 
GeneralRe: OT Pin
Michael Schubert25-Aug-09 1:58
Michael Schubert25-Aug-09 1:58 
QuestionHow to link to dll using function names rather than ordinals Pin
Chesnokov Yuriy24-Aug-09 20:16
professionalChesnokov Yuriy24-Aug-09 20:16 
AnswerRe: How to link to dll using function names rather than ordinals Pin
Naveen24-Aug-09 20:34
Naveen24-Aug-09 20:34 
AnswerRe: How to link to dll using function names rather than ordinals Pin
Chesnokov Yuriy24-Aug-09 21:02
professionalChesnokov Yuriy24-Aug-09 21:02 
AnswerRe: How to link to dll using function names rather than ordinals Pin
Rick York25-Aug-09 6:12
mveRick York25-Aug-09 6:12 

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.