|
-
Apr 14th, 2001, 11:20 AM
#1
Thread Starter
Lively Member
-
Apr 14th, 2001, 11:24 AM
#2
Monday Morning Lunatic
Ugh...MFC *cough*
Do you have the controls mapped to CButton objects? If so just use:
Code:
m_theButton.ShowWindow(SW_HIDE); // or SW_SHOW
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Apr 14th, 2001, 11:32 AM
#3
Thread Starter
Lively Member
yep thanks parksie
that works for visable or not, but what about just disabling or "graying out" the button?
-
Apr 14th, 2001, 11:46 AM
#4
Monday Morning Lunatic
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Apr 14th, 2001, 11:47 AM
#5
Frenzied Member
Code:
m_button.EnableWindow (FALSE);
-
Apr 14th, 2001, 11:48 AM
#6
-
Apr 14th, 2001, 11:49 AM
#7
Monday Morning Lunatic
I'll take the microsecond any day
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Apr 14th, 2001, 11:52 AM
#8
Thread Starter
Lively Member
great thanks. i scoured the MSDN for these functions with no luck. i would have thought CButton would have its own functions to perform these tasks.
-
Apr 14th, 2001, 11:54 AM
#9
Monday Morning Lunatic
It does!
Since CButton inherits from CWnd it gets those member functions.
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|