Click here to Skip to main content
15,911,646 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: accessing non-static variables Pin
PJ Arends2-Jan-06 15:09
professionalPJ Arends2-Jan-06 15:09 
QuestionFlashWindowEx Pin
Dody_DK2-Jan-06 10:55
Dody_DK2-Jan-06 10:55 
AnswerRe: FlashWindowEx Pin
PJ Arends2-Jan-06 15:15
professionalPJ Arends2-Jan-06 15:15 
GeneralRe: FlashWindowEx Pin
Dody_DK2-Jan-06 23:39
Dody_DK2-Jan-06 23:39 
GeneralRe: FlashWindowEx Pin
Gavin Taylor3-Jan-06 6:32
professionalGavin Taylor3-Jan-06 6:32 
GeneralRe: FlashWindowEx Pin
Dody_DK3-Jan-06 7:47
Dody_DK3-Jan-06 7:47 
QuestionTooltip on editbox Pin
mehrdadov2-Jan-06 6:29
mehrdadov2-Jan-06 6:29 
AnswerRe: Tooltip on editbox Pin
Ravi Bhavnani2-Jan-06 8:40
professionalRavi Bhavnani2-Jan-06 8:40 
QuestionError reading from com port Pin
nitgonz2-Jan-06 5:02
nitgonz2-Jan-06 5:02 
AnswerRe: Error reading from com port Pin
krmed2-Jan-06 5:34
krmed2-Jan-06 5:34 
GeneralRe: Error reading from com port Pin
John R. Shaw2-Jan-06 19:26
John R. Shaw2-Jan-06 19:26 
GeneralRe: Error reading from com port Pin
nitgonz3-Jan-06 2:55
nitgonz3-Jan-06 2:55 
GeneralRe: Error reading from com port Pin
krmed3-Jan-06 4:44
krmed3-Jan-06 4:44 
GeneralRe: Error reading from com port Pin
krmed3-Jan-06 4:43
krmed3-Jan-06 4:43 
AnswerRe: Error reading from com port Pin
rajan.msmy2-Jan-06 18:09
rajan.msmy2-Jan-06 18:09 
QuestionToolBar ToolTip is blocked by whom? Pin
rajan.msmy2-Jan-06 3:36
rajan.msmy2-Jan-06 3:36 
AnswerRe: ToolBar ToolTip is blocked by whom? Pin
Owner drawn2-Jan-06 16:45
Owner drawn2-Jan-06 16:45 
rajan4008 wrote:
And i added UI Command handler to the target ToolBar Button. In that handler i called CToolBar::SetButtonInfo() to change the button image into new one which i drawn.


LOL What are you trying to do buddy. Why do you do this in the UI command handler. Everytime the UI is updated the Image will be reset. Hence I think the blinking.

Note: UI handlers must always try to use CCmdUI object to deal with UI updation. AFAIK you never know when it will be called. So it's safe to use the CCmdUI object. And don't try to do anything else.

You can use SetButtonInfo in the OnCreate function for the frame.


rajan4008 wrote:
After this step i saw my target ToolButton image is blinking

OT: Now I know how to blink a toolbar button...He he;P

Jesus Loves You and Me Smile | :)
<marquee direction="up" height="50" scrolldelay="1" step="1" scrollamount="1" style="background-color:'#44ccff'">
--Owner Drawn
--Nothing special
--Defeat is temporary but surrender is permanent
--Never say quits
--Jesus is Lord


GeneralRe: ToolBar ToolTip is blocked by whom? Pin
rajan.msmy2-Jan-06 17:59
rajan.msmy2-Jan-06 17:59 
GeneralRe: ToolBar ToolTip is blocked by whom? Pin
Owner drawn2-Jan-06 18:08
Owner drawn2-Jan-06 18:08 
QuestionHow to delay about 1/20 milisecond ? Pin
quangpk2-Jan-06 1:43
quangpk2-Jan-06 1:43 
AnswerRe: How to delay about 1/20 milisecond ? Pin
kakan2-Jan-06 3:18
professionalkakan2-Jan-06 3:18 
AnswerRe: How to delay about 1/20 milisecond ? Pin
babuprasath2-Jan-06 4:01
babuprasath2-Jan-06 4:01 
AnswerRe: How to delay about 1/20 milisecond ? Pin
nde_plume2-Jan-06 6:02
nde_plume2-Jan-06 6:02 
AnswerRe: How to delay about 1/20 milisecond ? Pin
Alexander M.,3-Jan-06 7:43
Alexander M.,3-Jan-06 7:43 
QuestionHow to change parents Text prperty label from child dialog box Pin
RamL2-Jan-06 0:54
RamL2-Jan-06 0:54 

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.