Click here to Skip to main content
15,913,487 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralExtracting RGB values from a color Pin
IGeorgeI9-Jul-03 6:44
IGeorgeI9-Jul-03 6:44 
GeneralRe: Extracting RGB values from a color Pin
Keith D9-Jul-03 6:51
Keith D9-Jul-03 6:51 
GeneralRe: Extracting RGB values from a color Pin
Magnus Westin9-Jul-03 7:00
Magnus Westin9-Jul-03 7:00 
GeneralRe: Extracting RGB values from a color Pin
IGeorgeI9-Jul-03 8:23
IGeorgeI9-Jul-03 8:23 
QuestionLZW anybody?? Pin
keb9-Jul-03 6:31
keb9-Jul-03 6:31 
AnswerRe: LZW anybody?? Pin
Larry Antram9-Jul-03 7:33
Larry Antram9-Jul-03 7:33 
GeneralRe: LZW anybody?? Pin
keb9-Jul-03 7:40
keb9-Jul-03 7:40 
GeneralRe: LZW anybody?? Pin
Larry Antram9-Jul-03 7:45
Larry Antram9-Jul-03 7:45 
GeneralRe: LZW anybody?? Pin
John M. Drescher9-Jul-03 8:13
John M. Drescher9-Jul-03 8:13 
GeneralRe: LZW anybody?? Pin
peterchen9-Jul-03 9:51
peterchen9-Jul-03 9:51 
AnswerRe: LZW anybody?? Pin
perlmunger9-Jul-03 7:45
perlmunger9-Jul-03 7:45 
Generalwincrypt.h Pin
Tili9-Jul-03 6:24
Tili9-Jul-03 6:24 
GeneralRe: wincrypt.h Pin
Tili9-Jul-03 6:36
Tili9-Jul-03 6:36 
Generalinserting text into a rich edit view Pin
crapfacejoe9-Jul-03 6:12
crapfacejoe9-Jul-03 6:12 
GeneralRe: inserting text into a rich edit view Pin
Ryan Binns9-Jul-03 15:27
Ryan Binns9-Jul-03 15:27 
GeneralBit operation Pin
Anonymous9-Jul-03 6:08
Anonymous9-Jul-03 6:08 
GeneralRe: Bit operation Pin
John M. Drescher9-Jul-03 6:18
John M. Drescher9-Jul-03 6:18 
GeneralRe: Bit operation Pin
David Chamberlain9-Jul-03 7:07
David Chamberlain9-Jul-03 7:07 
GeneralUpdating toolbar buttons or menu Pin
Rno359-Jul-03 6:07
Rno359-Jul-03 6:07 
Hi,

Here it goes: the user of my program click a button of a toolbar. Then a function is executed corresponding to this button.
I am using a document/view architecture with VC++ 6 and I am able to change the state of the button (i.e. grayed, checked…) only once the function is finished.

I would like to be able to update the state of the toolbar button of menu while executing the function:

<br />
void CMyProjectView::OnButtonDown() <br />
{<br />
	// initialize variables<br />
<br />
	// change the state of toolbar buttons<br />
<br />
		// Do code here<br />
<br />
	// restore the starting state of toolbar buttons<br />
}<br />

Thanks,

Rno
GeneralRe: Updating toolbar buttons or menu Pin
John R. Shaw9-Jul-03 8:29
John R. Shaw9-Jul-03 8:29 
GeneralRe: Updating toolbar buttons or menu Pin
Rno359-Jul-03 10:40
Rno359-Jul-03 10:40 
GeneralRe: Updating toolbar buttons or menu Pin
John R. Shaw9-Jul-03 12:39
John R. Shaw9-Jul-03 12:39 
QuestionBraces required? Pin
Jamie Hale9-Jul-03 5:27
Jamie Hale9-Jul-03 5:27 
AnswerRe: Braces required? Pin
valikac9-Jul-03 5:38
valikac9-Jul-03 5:38 
GeneralRe: Braces required? Pin
Rage9-Jul-03 5:43
professionalRage9-Jul-03 5:43 

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.