Click here to Skip to main content
15,900,818 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Message Box Hanging the Application Pin
Balkrishna Talele17-Mar-04 22:18
Balkrishna Talele17-Mar-04 22:18 
GeneralURGENT -- creating msi package for a vc++ application Pin
Member 84062417-Mar-04 13:59
Member 84062417-Mar-04 13:59 
GeneralRe: URGENT -- creating msi package for a vc++ application Pin
P_JAYAPRAKASH17-Mar-04 17:42
P_JAYAPRAKASH17-Mar-04 17:42 
GeneralRe: URGENT -- creating msi package for a vc++ application Pin
Anonymous17-Mar-04 18:56
Anonymous17-Mar-04 18:56 
GeneralCDC Pin
Anonymous17-Mar-04 12:26
Anonymous17-Mar-04 12:26 
GeneralRe: CDC Pin
gUrM33T17-Mar-04 14:22
gUrM33T17-Mar-04 14:22 
GeneralCPropertySheet SetActiveWindow in DoModal hangs Pin
Gizi Gyorgy17-Mar-04 11:14
Gizi Gyorgy17-Mar-04 11:14 
GeneralSubclassing CDateTimeCtrl Pin
Pir8ofTampa17-Mar-04 10:48
Pir8ofTampa17-Mar-04 10:48 
Created and editable CListCtrl.

Trying to subclass CDateTimeCtrl - unable to handle using VK_TAB and forcing the subclassed control to lose focus and destroy itself.

Reasoning: When using the drop-down, obviously, CDateTimeCtrl loses focus, but can't figure out how to keep control visible until all user intervention is complete - or naturally, it loses focus to the next column, or other object.

I tried overiding OnKillFocus:

void CdtkDate::OnKillFocus(CWnd* pNewWnd)
{
CDateTimeCtrl::OnKillFocus(pNewWnd);
CMonthCalCtrl* pMonCalCtrl = this->GetMonthCalCtrl();
// But CMonthCalCtrl doesn't get focus until the user selects it,
// Even though it is visible - should I force this focus?

if(pNewWnd->m_hWnd == pMonCalCtrl->m_hWnd)
return;

DestroyWindow();
}

This Class will not always destroy itself - and I get an error when the application instance is terminated.

Any suggestions will be appreciated.

GeneralOnSize & MoveWindow Release Mouse Pin
leemidgley17-Mar-04 10:42
leemidgley17-Mar-04 10:42 
GeneralRe: OnSize & MoveWindow Release Mouse Pin
Prakash Nadar17-Mar-04 16:51
Prakash Nadar17-Mar-04 16:51 
GeneralService Stop Error Pin
Deian17-Mar-04 10:24
Deian17-Mar-04 10:24 
GeneralEncryption of user data - opinion needed Pin
Anonymous17-Mar-04 9:52
Anonymous17-Mar-04 9:52 
GeneralRe: Encryption of user data - opinion needed Pin
alex.barylski17-Mar-04 10:53
alex.barylski17-Mar-04 10:53 
GeneralRe: Encryption of user data - opinion needed Pin
Anonymous17-Mar-04 13:59
Anonymous17-Mar-04 13:59 
GeneralNeed help with scrolling a listview Pin
d817-Mar-04 9:47
d817-Mar-04 9:47 
GeneralRe: Need help with scrolling a listview Pin
d817-Mar-04 10:04
d817-Mar-04 10:04 
GeneralRe: Need help with scrolling a listview Pin
alex.barylski17-Mar-04 10:46
alex.barylski17-Mar-04 10:46 
Generalswap bytes in a ushort/ulong Pin
Jürgen Eidt17-Mar-04 9:34
Jürgen Eidt17-Mar-04 9:34 
GeneralRe: swap bytes in a ushort/ulong Pin
Rick York17-Mar-04 10:28
mveRick York17-Mar-04 10:28 
GeneralRe: swap bytes in a ushort/ulong Pin
Jürgen Eidt17-Mar-04 16:14
Jürgen Eidt17-Mar-04 16:14 
GeneralRe: swap bytes in a ushort/ulong Pin
Gary R. Wheeler18-Mar-04 2:06
Gary R. Wheeler18-Mar-04 2:06 
GeneralRe: swap bytes in a ushort/ulong Pin
Jürgen Eidt18-Mar-04 9:41
Jürgen Eidt18-Mar-04 9:41 
GeneralRe: swap bytes in a ushort/ulong Pin
Gary R. Wheeler18-Mar-04 12:03
Gary R. Wheeler18-Mar-04 12:03 
GeneralRe: swap bytes in a ushort/ulong Pin
Jürgen Eidt18-Mar-04 15:01
Jürgen Eidt18-Mar-04 15:01 
GeneralI need help in doing 8 bit binary addition Pin
juntupally17-Mar-04 9:13
juntupally17-Mar-04 9:13 

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.