Click here to Skip to main content
15,791,740 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionChanging Dialog Button Color at runTime Pin
002comp21-Nov-12 0:07
002comp21-Nov-12 0:07 
AnswerRe: Changing Dialog Button Color at runTime Pin
manoranjan21-Nov-12 1:05
manoranjan21-Nov-12 1:05 
GeneralRe: Changing Dialog Button Color at runTime Pin
002comp21-Nov-12 1:37
002comp21-Nov-12 1:37 
GeneralRe: Changing Dialog Button Color at runTime Pin
manoranjan21-Nov-12 2:12
manoranjan21-Nov-12 2:12 
GeneralRe: Changing Dialog Button Color at runTime Pin
002comp21-Nov-12 19:56
002comp21-Nov-12 19:56 
GeneralRe: Changing Dialog Button Color at runTime Pin
manoranjan21-Nov-12 20:40
manoranjan21-Nov-12 20:40 
QuestionPng Image button problem. Pin
yu-jian20-Nov-12 7:53
yu-jian20-Nov-12 7:53 
QuestionMinimize CDialog Problem Pin
yu-jian20-Nov-12 7:22
yu-jian20-Nov-12 7:22 
C++
BOOL CMainFrame::Login()
{
	this->ShowWindow(SW_MINIMIZE);

   	CLoginForm  loginForm();
   	if (loginForm.DoModal() != IDOK)  
 	{
 		this->PostMessage(WM_CLOSE);
 		return FALSE;
 	}
	...

	this->ShowWindow(SW_SHOWNORMAL);
	return TRUE;
}


C++
void CLoginForm::OnClickedMinimize()
{
	ShowWindow(SW_MINIMIZE);
}


The MainFrame is showing and the user click the logout button to call login function. The the CLoginForm show, CLoginForm is a no border CDialog, when user click the minimize button of CLoginForm. The CLoginForm is hide, but there is a black block in the left-bottom of the screem. I donot know why this happen.
AnswerRe: Minimize CDialog Problem Pin
jeron120-Nov-12 7:31
jeron120-Nov-12 7:31 
QuestionRe: Minimize CDialog Problem Pin
Maximilien20-Nov-12 9:26
Maximilien20-Nov-12 9:26 
QuestionCheck if a character is lowercase and change to uppercase. Pin
MitchG92_2420-Nov-12 1:49
MitchG92_2420-Nov-12 1:49 
AnswerRe: Check if a character is lowercase and change to uppercase. Pin
MitchG92_2420-Nov-12 1:56
MitchG92_2420-Nov-12 1:56 
AnswerRe: Check if a character is lowercase and change to uppercase. Pin
Sajeesh Payolam20-Nov-12 18:34
Sajeesh Payolam20-Nov-12 18:34 
GeneralRe: Check if a character is lowercase and change to uppercase. Pin
Richard MacCutchan20-Nov-12 22:31
mveRichard MacCutchan20-Nov-12 22:31 
QuestionIs it possible to capture an HD video/ to generate videos in HD in C++/VC++/MFC.? Pin
mbatra3119-Nov-12 23:15
mbatra3119-Nov-12 23:15 
QuestionProblem with string conversion Pin
HungryCPPDev19-Nov-12 20:08
HungryCPPDev19-Nov-12 20:08 
AnswerRe: Problem with string conversion Pin
Jochen Arndt19-Nov-12 22:40
professionalJochen Arndt19-Nov-12 22:40 
GeneralRe: Problem with string conversion Pin
HungryCPPDev20-Nov-12 19:05
HungryCPPDev20-Nov-12 19:05 
GeneralRe: Problem with string conversion Pin
Jochen Arndt22-Nov-12 3:52
professionalJochen Arndt22-Nov-12 3:52 
QuestionHow to set the alignment of items of CListCtrl Pin
rahul.kulshreshtha19-Nov-12 17:43
rahul.kulshreshtha19-Nov-12 17:43 
AnswerRe: How to set the alignment of items of CListCtrl Pin
Richard MacCutchan19-Nov-12 23:50
mveRichard MacCutchan19-Nov-12 23:50 
GeneralRe: How to set the alignment of items of CListCtrl Pin
rahul.kulshreshtha20-Nov-12 0:22
rahul.kulshreshtha20-Nov-12 0:22 
GeneralRe: How to set the alignment of items of CListCtrl Pin
Richard MacCutchan20-Nov-12 1:02
mveRichard MacCutchan20-Nov-12 1:02 
GeneralRe: How to set the alignment of items of CListCtrl Pin
rahul.kulshreshtha20-Nov-12 17:30
rahul.kulshreshtha20-Nov-12 17:30 
GeneralRe: How to set the alignment of items of CListCtrl Pin
Richard MacCutchan20-Nov-12 22:17
mveRichard MacCutchan20-Nov-12 22:17 

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.