Click here to Skip to main content
15,949,686 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: freshman Pin
linex15-May-03 0:46
linex15-May-03 0:46 
GeneralOS detection Pin
elisap14-May-03 13:11
elisap14-May-03 13:11 
GeneralRe: OS detection Pin
Michael Dunn14-May-03 13:34
sitebuilderMichael Dunn14-May-03 13:34 
GeneralRe: OS detection Pin
Trollslayer15-May-03 1:35
mentorTrollslayer15-May-03 1:35 
GeneralRe: OS detection Pin
John M. Drescher14-May-03 13:54
John M. Drescher14-May-03 13:54 
GeneralMFC in VS.NET 2003 Pin
paulb14-May-03 13:09
paulb14-May-03 13:09 
GeneralRe: MFC in VS.NET 2003 Pin
Wes Aday14-May-03 13:41
professionalWes Aday14-May-03 13:41 
Generalcontrol styles Pin
emrosa14-May-03 13:05
emrosa14-May-03 13:05 
Hello...I have a form with some edit controls boxes and buttons. There are two modes (1 and 2). In mode 1 some edits controls should be available for editing, and a button visible and available; and other controls should be unavailable for editing and another button not visible.

Changing to mode 2 invert the availability.

My problem is that I do not know if this is possible to do it at runtime. If this is possible, how do I do it?

I know where to put the code to enable and unenable the controls, but I would like to know what are the visual c++ statements to do this.

Can anyone give me a hand?

What I meant is how can I change the edit control styles and button control styles, specifically WS_TABSTOP and WM_ENABLE? This at run time

Thanks


Eric Manuel Rosales Pena Alfaro
PhD student
Unversity of Essex
Wivenhoe Park
Colchester, CO4 3SQ
Essex, Uk
email: emrosa@essex.ac.uk
tel: +44-01206-87311
GeneralRe: control styles Pin
John R. Shaw14-May-03 13:31
John R. Shaw14-May-03 13:31 
GeneralRe: control styles Pin
Renjith Ramachandran15-May-03 5:10
Renjith Ramachandran15-May-03 5:10 
GeneralWSAAccept query Pin
noxon14-May-03 13:03
noxon14-May-03 13:03 
GeneralRe: WSAAccept query Pin
Renjith Ramachandran15-May-03 5:19
Renjith Ramachandran15-May-03 5:19 
GeneralDrawing, and text with an angle Pin
Jorgen E.14-May-03 13:00
Jorgen E.14-May-03 13:00 
GeneralRe: Drawing, and text with an angle Pin
J. Dunlap14-May-03 13:05
J. Dunlap14-May-03 13:05 
Generalmessage handler Pin
K. Shaffer14-May-03 11:11
K. Shaffer14-May-03 11:11 
GeneralRe: message handler Pin
Neville Franks14-May-03 11:26
Neville Franks14-May-03 11:26 
GeneralRe: message handler Pin
Toni7815-May-03 5:43
Toni7815-May-03 5:43 
GeneralNovell & NT Service Pin
Ed K14-May-03 10:41
Ed K14-May-03 10:41 
QuestionHow to automatically perform function when dialog appears? Pin
modernrelativist14-May-03 10:35
modernrelativist14-May-03 10:35 
AnswerRe: How to automatically perform function when dialog appears? Pin
David Crow14-May-03 11:00
David Crow14-May-03 11:00 
AnswerRe: How to automatically perform function when dialog appears? Pin
desantos14-May-03 11:11
desantos14-May-03 11:11 
AnswerRe: How to automatically perform function when dialog appears? Pin
John R. Shaw14-May-03 13:23
John R. Shaw14-May-03 13:23 
Generalambiguous symbol Pin
Unplugged14-May-03 10:22
Unplugged14-May-03 10:22 
GeneralRe: ambiguous symbol Pin
Ed K14-May-03 11:17
Ed K14-May-03 11:17 
GeneralRe: ambiguous symbol Pin
Unplugged20-May-03 4:35
Unplugged20-May-03 4:35 

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.