Click here to Skip to main content
15,896,201 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Problem converting project from VC6 to VC8 Pin
Skarrin26-Jun-07 0:55
Skarrin26-Jun-07 0:55 
AnswerRe: Problem converting project from VC6 to VC8 Pin
Mark Salsbery26-Jun-07 6:34
Mark Salsbery26-Jun-07 6:34 
QuestionButton with Icon not showing tooltip Pin
_AnsHUMAN_ 25-Jun-07 23:47
_AnsHUMAN_ 25-Jun-07 23:47 
AnswerRe: Button with Icon not showing tooltip Pin
Hamid_RT26-Jun-07 0:33
Hamid_RT26-Jun-07 0:33 
GeneralRe: Button with Icon not showing tooltip Pin
_AnsHUMAN_ 26-Jun-07 1:30
_AnsHUMAN_ 26-Jun-07 1:30 
GeneralRe: Button with Icon not showing tooltip Pin
Hamid_RT26-Jun-07 19:20
Hamid_RT26-Jun-07 19:20 
GeneralRe: Button with Icon not showing tooltip Pin
_AnsHUMAN_ 26-Jun-07 19:12
_AnsHUMAN_ 26-Jun-07 19:12 
QuestionLoading bitmap on Combo control Pin
naveen27gupta25-Jun-07 23:20
naveen27gupta25-Jun-07 23:20 
I need to load 2 bitmaps alternatively on the arrow mark of the combo contol(owner draw combo cotrol). This process should take place continuously so that the arrow mark looks as if it is blinking.
if have done this by using a timer which calls the code every second. But after some time the application is being CRASHED.

The code i have used is ,

if(variable == TRUE)
{
m_ctlMode.SetBitmap(IDB_BITMAP_COMBO);
variable = FALSE;
}
else
{
m_ctlMode.SetBitmap(IDB_BITMAP_RED);
variable = TRUE;
}
m_ctlMode.Invalidate(TRUE);

Here m_ctlMode is the control variable of the combo box.
Please can anyone say me how to come out of this problem

Naveen
AnswerRe: Loading bitmap on Combo control Pin
Iain Clarke, Warrior Programmer25-Jun-07 23:44
Iain Clarke, Warrior Programmer25-Jun-07 23:44 
AnswerRe: Loading bitmap on Combo control Pin
naveen27gupta26-Jun-07 0:52
naveen27gupta26-Jun-07 0:52 
GeneralRe: Loading bitmap on Combo control Pin
Iain Clarke, Warrior Programmer26-Jun-07 1:28
Iain Clarke, Warrior Programmer26-Jun-07 1:28 
GeneralRe: Loading bitmap on Combo control Pin
naveen27gupta26-Jun-07 2:47
naveen27gupta26-Jun-07 2:47 
GeneralRe: Loading bitmap on Combo control Pin
Iain Clarke, Warrior Programmer26-Jun-07 3:11
Iain Clarke, Warrior Programmer26-Jun-07 3:11 
AnswerRe: Loading bitmap on Combo control Pin
Mark Salsbery26-Jun-07 6:42
Mark Salsbery26-Jun-07 6:42 
QuestionCTreeCtrl::EnsureVisible() -- failed to show selected item. Pin
brakeshbaldhab25-Jun-07 23:13
brakeshbaldhab25-Jun-07 23:13 
QuestionSet cursor to hourglass before window appears Pin
MeniB25-Jun-07 22:37
MeniB25-Jun-07 22:37 
AnswerRe: Set cursor to hourglass before window appears Pin
KaЯl25-Jun-07 22:44
KaЯl25-Jun-07 22:44 
GeneralRe: Set cursor to hourglass before window appears Pin
MeniB25-Jun-07 22:48
MeniB25-Jun-07 22:48 
GeneralRe: Set cursor to hourglass before window appears Pin
KaЯl25-Jun-07 23:03
KaЯl25-Jun-07 23:03 
QuestionNo, the problem is catching messages while my window is invisible Pin
MeniB25-Jun-07 23:34
MeniB25-Jun-07 23:34 
AnswerRe: Set cursor to hourglass before window appears Pin
Rajkumar R25-Jun-07 23:25
Rajkumar R25-Jun-07 23:25 
QuestionRe: Set cursor to hourglass before window appears Pin
MeniB25-Jun-07 23:40
MeniB25-Jun-07 23:40 
AnswerRe: Set cursor to hourglass before window appears Pin
Iain Clarke, Warrior Programmer25-Jun-07 23:54
Iain Clarke, Warrior Programmer25-Jun-07 23:54 
AnswerRe: Set cursor to hourglass before window appears Pin
Rajkumar R26-Jun-07 0:14
Rajkumar R26-Jun-07 0:14 
AnswerThis will work Pin
sudheee26-Jun-07 1:14
sudheee26-Jun-07 1:14 

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.