Click here to Skip to main content
15,846,004 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: freshman Pin
linex15-May-03 1:46
linex15-May-03 1:46 
GeneralOS detection Pin
elisap14-May-03 14:11
elisap14-May-03 14:11 
GeneralRe: OS detection Pin
Michael Dunn14-May-03 14:34
sitebuilderMichael Dunn14-May-03 14:34 
GeneralRe: OS detection Pin
Trollslayer15-May-03 2:35
mentorTrollslayer15-May-03 2:35 
GeneralRe: OS detection Pin
John M. Drescher14-May-03 14:54
John M. Drescher14-May-03 14:54 
GeneralMFC in VS.NET 2003 Pin
paulb14-May-03 14:09
paulb14-May-03 14:09 
GeneralRe: MFC in VS.NET 2003 Pin
Wes Aday14-May-03 14:41
professionalWes Aday14-May-03 14:41 
Generalcontrol styles Pin
emrosa14-May-03 14:05
emrosa14-May-03 14: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 14:31
John R. Shaw14-May-03 14:31 
GeneralRe: control styles Pin
Renjith Ramachandran15-May-03 6:10
Renjith Ramachandran15-May-03 6:10 
GeneralWSAAccept query Pin
noxon14-May-03 14:03
noxon14-May-03 14:03 
GeneralRe: WSAAccept query Pin
Renjith Ramachandran15-May-03 6:19
Renjith Ramachandran15-May-03 6:19 
GeneralDrawing, and text with an angle Pin
Jorgen E.14-May-03 14:00
Jorgen E.14-May-03 14:00 
GeneralRe: Drawing, and text with an angle Pin
J. Dunlap14-May-03 14:05
J. Dunlap14-May-03 14:05 
Generalmessage handler Pin
K. Shaffer14-May-03 12:11
K. Shaffer14-May-03 12:11 
GeneralRe: message handler Pin
Neville Franks14-May-03 12:26
Neville Franks14-May-03 12:26 
GeneralRe: message handler Pin
Toni7815-May-03 6:43
Toni7815-May-03 6:43 
GeneralNovell & NT Service Pin
Ed K14-May-03 11:41
Ed K14-May-03 11:41 
QuestionHow to automatically perform function when dialog appears? Pin
modernrelativist14-May-03 11:35
modernrelativist14-May-03 11:35 
AnswerRe: How to automatically perform function when dialog appears? Pin
David Crow14-May-03 12:00
David Crow14-May-03 12:00 
AnswerRe: How to automatically perform function when dialog appears? Pin
desantos14-May-03 12:11
desantos14-May-03 12:11 
AnswerRe: How to automatically perform function when dialog appears? Pin
John R. Shaw14-May-03 14:23
John R. Shaw14-May-03 14:23 
Generalambiguous symbol Pin
Unplugged14-May-03 11:22
Unplugged14-May-03 11:22 
GeneralRe: ambiguous symbol Pin
Ed K14-May-03 12:17
Ed K14-May-03 12:17 
GeneralRe: ambiguous symbol Pin
Unplugged20-May-03 5:35
Unplugged20-May-03 5: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.