Click here to Skip to main content
16,007,111 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Winsock 2: Local IP address Pin
Antony M Kancidrowski16-Aug-04 22:56
Antony M Kancidrowski16-Aug-04 22:56 
GeneralRegRestoreKey huge delay on 2003 Pin
farby16-Aug-04 11:57
farby16-Aug-04 11:57 
GeneralProject Suggestions Pin
Archer28216-Aug-04 11:55
Archer28216-Aug-04 11:55 
GeneralRe: Project Suggestions Pin
Christian Graus16-Aug-04 12:16
protectorChristian Graus16-Aug-04 12:16 
GeneralRe: Project Suggestions Pin
David Crow17-Aug-04 3:38
David Crow17-Aug-04 3:38 
GeneralUsing a templated CView class with the MDI or SDI framework Pin
BAmity16-Aug-04 11:50
BAmity16-Aug-04 11:50 
GeneralLocking a combobox and handling CFormView closing Pin
BlackDice16-Aug-04 11:34
BlackDice16-Aug-04 11:34 
GeneralRe: Locking a combobox and handling CFormView closing Pin
David Crow17-Aug-04 3:55
David Crow17-Aug-04 3:55 
bdiamond wrote:
...how I can allow the user to drop down the combobox's list without being able to select anything (because they're viewing a record and shouldn't be allowed to actually change the selection while in browse mode and I don't want the combo disabled).

Having a screen where some of the controls are enabled, other controls are disabled, and none of them are updateable, is a bit confusing. The selection in the combobox should be that of the current record, and the combobox should be disabled.

bdiamond wrote:
what function should I override to stop the user from closing the CFormView screen if they're in edit mode? I've tried the WM_DESTROY and the WM_CLOSE, but they're still able to close the form.

What if someone got into edit mode but changed their mind?


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


GeneralRe: Locking a combobox and handling CFormView closing Pin
BlackDice17-Aug-04 5:11
BlackDice17-Aug-04 5:11 
GeneralRe: Locking a combobox and handling CFormView closing Pin
David Crow17-Aug-04 5:51
David Crow17-Aug-04 5:51 
GeneralVisual C++ start problem...delay Pin
GuimaSun16-Aug-04 9:17
GuimaSun16-Aug-04 9:17 
GeneralRe: Visual C++ start problem...delay Pin
David Crow16-Aug-04 10:24
David Crow16-Aug-04 10:24 
GeneralRe: Visual C++ start problem...delay Pin
nnvidya16-Aug-04 23:03
nnvidya16-Aug-04 23:03 
GeneralRe: Visual C++ start problem...delay Pin
David Crow17-Aug-04 3:20
David Crow17-Aug-04 3:20 
GeneralRe: Visual C++ start problem...delay Pin
GuimaSun17-Aug-04 3:55
GuimaSun17-Aug-04 3:55 
GeneralRe: Visual C++ start problem...delay Pin
David Crow17-Aug-04 4:00
David Crow17-Aug-04 4:00 
GeneralDifference between "->" and "." Pin
crushinghellhammer16-Aug-04 9:08
crushinghellhammer16-Aug-04 9:08 
GeneralRe: Difference between "->" and "." Pin
crushinghellhammer16-Aug-04 9:15
crushinghellhammer16-Aug-04 9:15 
GeneralRe: Difference between "->" and "." Pin
Wes Aday16-Aug-04 9:17
professionalWes Aday16-Aug-04 9:17 
GeneralRe: Difference between "->" and "." Pin
weblee16-Aug-04 9:52
weblee16-Aug-04 9:52 
Generalno print preview for CFormView in .Net 2003 Pin
BlackDice16-Aug-04 8:59
BlackDice16-Aug-04 8:59 
QuestionA chatsite for questions? Pin
Anonymous16-Aug-04 8:46
Anonymous16-Aug-04 8:46 
AnswerRe: A chatsite for questions? Pin
David Crow16-Aug-04 9:01
David Crow16-Aug-04 9:01 
QuestionFree Windows equivalent of syslog? Pin
hyling16-Aug-04 8:03
hyling16-Aug-04 8:03 
AnswerRe: Free Windows equivalent of syslog? Pin
bikram singh16-Aug-04 9:19
bikram singh16-Aug-04 9:19 

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.