Click here to Skip to main content
15,914,066 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: comparing Visual C++, C#, VB Pin
Watever_417-Aug-04 6:21
Watever_417-Aug-04 6:21 
Generalnon MFC single instance Pin
ns17-Aug-04 5:31
ns17-Aug-04 5:31 
GeneralRe: non MFC single instance Pin
David Crow17-Aug-04 5:44
David Crow17-Aug-04 5:44 
GeneralRe: non MFC single instance Pin
ns17-Aug-04 5:46
ns17-Aug-04 5:46 
GeneralEdit Box read only Pin
Jay.Jay17-Aug-04 5:31
Jay.Jay17-Aug-04 5:31 
GeneralRe: Edit Box read only Pin
David Crow17-Aug-04 5:47
David Crow17-Aug-04 5:47 
GeneralRe: Edit Box read only Pin
Jay.Jay17-Aug-04 21:03
Jay.Jay17-Aug-04 21:03 
GeneralRe: Edit Box read only Pin
David Crow18-Aug-04 5:23
David Crow18-Aug-04 5:23 
By using EnableWindow(FALSE), you will get a box with dark gray text on a light gray background. By using SetReadOnly(TRUE), you will get a box with black text on a light gray background. If you really want to use EnableWindow(FALSE), you will need to override the OnCtlColor() method in the dialog. When pWnd's control id is that of the edit control, call SetTextColor(RGB(0, 0, 0)). Examples of this are on MSDN.


"When I was born I was so surprised that I didn't talk for a year and a half." - Gracie Allen


GeneralRe: Edit Box read only Pin
Ravi Bhavnani17-Aug-04 7:32
professionalRavi Bhavnani17-Aug-04 7:32 
GeneralCRecordSet and update Pin
pnpfriend17-Aug-04 4:42
pnpfriend17-Aug-04 4:42 
GeneralRe: CRecordSet and update Pin
David Crow17-Aug-04 6:57
David Crow17-Aug-04 6:57 
GeneralRe: CRecordSet and update Pin
pnpfriend17-Aug-04 10:26
pnpfriend17-Aug-04 10:26 
GeneralRe: CRecordSet and update Pin
David Crow18-Aug-04 6:15
David Crow18-Aug-04 6:15 
GeneralRe: CRecordSet and update Pin
pnpfriend20-Aug-04 4:26
pnpfriend20-Aug-04 4:26 
Generalthreads and sockets Pin
ns17-Aug-04 4:02
ns17-Aug-04 4:02 
GeneralRe: threads and sockets Pin
jerry1211a17-Aug-04 4:19
jerry1211a17-Aug-04 4:19 
GeneralRe: threads and sockets Pin
Antony M Kancidrowski17-Aug-04 4:25
Antony M Kancidrowski17-Aug-04 4:25 
GeneralRe: threads and sockets Pin
ns17-Aug-04 5:30
ns17-Aug-04 5:30 
GeneralReading Events from the Event Log Pin
ITMan17-Aug-04 3:46
ITMan17-Aug-04 3:46 
GeneralRe: Reading Events from the Event Log Pin
David Crow17-Aug-04 5:12
David Crow17-Aug-04 5:12 
GeneralRe: Reading Events from the Event Log Pin
ITMan17-Aug-04 18:56
ITMan17-Aug-04 18:56 
GeneralRe: Reading Events from the Event Log Pin
David Crow18-Aug-04 5:39
David Crow18-Aug-04 5:39 
GeneralRe: Reading Events from the Event Log Pin
Blake Miller20-Aug-04 5:04
Blake Miller20-Aug-04 5:04 
GeneralRe: Reading Events from the Event Log Pin
David Crow20-Aug-04 5:08
David Crow20-Aug-04 5:08 
QuestionProblem with list control header? Pin
mohamedghonemi17-Aug-04 2:52
mohamedghonemi17-Aug-04 2:52 

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.