Click here to Skip to main content
15,901,982 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to Convert Local time to UTC Time in WM5.0 Pin
Mohanraj D6-May-08 1:36
Mohanraj D6-May-08 1:36 
AnswerRe: How to Convert Local time to UTC Time in WM5.0 [modified] Pin
Rajkumar R6-May-08 1:55
Rajkumar R6-May-08 1:55 
AnswerRe: How to Convert Local time to UTC Time in WM5.0 Pin
Rajesh R Subramanian6-May-08 2:03
professionalRajesh R Subramanian6-May-08 2:03 
GeneralRe: How to Convert Local time to UTC Time in WM5.0 Pin
Rajkumar R6-May-08 2:10
Rajkumar R6-May-08 2:10 
JokeRe: How to Convert Local time to UTC Time in WM5.0 Pin
Rajesh R Subramanian6-May-08 2:11
professionalRajesh R Subramanian6-May-08 2:11 
QuestionCompress Drive Pin
john56325-May-08 23:54
john56325-May-08 23:54 
AnswerRe: Compress Drive Pin
toxcct6-May-08 0:04
toxcct6-May-08 0:04 
QuestionRe: Compress Drive Pin
Rajesh R Subramanian6-May-08 0:22
professionalRajesh R Subramanian6-May-08 0:22 
AnswerRe: Compress Drive Pin
Rajkumar R6-May-08 0:42
Rajkumar R6-May-08 0:42 
QuestionSendMessage compatible with DLL Pin
tony_Udz5-May-08 23:46
tony_Udz5-May-08 23:46 
QuestionRe: SendMessage compatible with DLL Pin
Rajkumar R6-May-08 3:55
Rajkumar R6-May-08 3:55 
QuestionVC++6.0 How retrieve current row in a .DOC file? Pin
Antonio29295-May-08 23:36
Antonio29295-May-08 23:36 
AnswerRe: VC++6.0 How retrieve current row in a .DOC file? Pin
Nelek6-May-08 1:59
protectorNelek6-May-08 1:59 
GeneralRe: VC++6.0 How retrieve current row in a .DOC file? Pin
Antonio29296-May-08 3:25
Antonio29296-May-08 3:25 
GeneralRe: VC++6.0 How retrieve current row in a .DOC file? Pin
Nelek6-May-08 11:04
protectorNelek6-May-08 11:04 
Questiondatabase connectivity Pin
yogesh_softworld1235-May-08 22:49
yogesh_softworld1235-May-08 22:49 
QuestionRe: database connectivity Pin
Rajesh R Subramanian5-May-08 22:51
professionalRajesh R Subramanian5-May-08 22:51 
AnswerRe: database connectivity Pin
toxcct5-May-08 22:58
toxcct5-May-08 22:58 
AnswerRe: database connectivity Pin
CPallini5-May-08 23:33
mveCPallini5-May-08 23:33 
AnswerRe: database connectivity Pin
Hamid_RT6-May-08 1:20
Hamid_RT6-May-08 1:20 
Questionchild control flickers [modified] Pin
followait5-May-08 22:47
followait5-May-08 22:47 
Update:

The problem seems to occur in some condition.
For example, when minimizing a message dialog of MSN Messenger, it flicks, when minizing the main dialog of MSN Messenger, it doesn't flick.

================================================
The parent windows aready has both WS_CLIPCHILDREN and WS_CLIPSIBLINGS styles,
but the child control of it still flicks, when another application cover it is minimized.

Here is some code:

int CMyEditorDlg::OnCreate(LPCREATESTRUCT lpCreateStruct) 
{
	if (CDialog::OnCreate(lpCreateStruct) == -1)
		return -1;
...
	style=WS_CHILD|WS_VISIBLE|BS_OWNERDRAW|BS_NOTIFY;

	m_btnMin.Create(NULL,style,rc,this,ID_BTN_MIN);
	m_btnMax.Create(NULL,style,rc,this,ID_BTN_MAX);
        ...
}

//variable type
CMyButton	m_btnMin;
CMyButton	m_btnMax;

//class declare
class CMyButton : public CBitmapButton


I've tried to let OnEraseBackground return only TRUE, but no help.

modified on Tuesday, May 6, 2008 7:56 PM

AnswerRe: child control flicks Pin
Nelek6-May-08 1:55
protectorNelek6-May-08 1:55 
GeneralRe: child control flicks Pin
followait6-May-08 3:40
followait6-May-08 3:40 
GeneralRe: child control flicks Pin
Rajkumar R6-May-08 4:46
Rajkumar R6-May-08 4:46 
GeneralRe: child control flicks Pin
followait6-May-08 13:09
followait6-May-08 13:09 

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.