Click here to Skip to main content
16,011,383 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionChanging scrollbar colors? Pin
Jim A. Johnson19-Nov-01 12:55
Jim A. Johnson19-Nov-01 12:55 
AnswerRe: Changing scrollbar colors? Pin
Bernhard19-Nov-01 23:32
Bernhard19-Nov-01 23:32 
GeneralRe: Changing scrollbar colors? Pin
Jim A. Johnson20-Nov-01 10:13
Jim A. Johnson20-Nov-01 10:13 
GeneralRe: Changing scrollbar colors? Pin
Bernhard20-Nov-01 19:22
Bernhard20-Nov-01 19:22 
GeneralNews: Ultimate Grid for MFC 5.0 released today Pin
Ed Worsfold19-Nov-01 11:45
Ed Worsfold19-Nov-01 11:45 
QuestionHow can I lock up my application? Pin
Cathy19-Nov-01 11:28
Cathy19-Nov-01 11:28 
AnswerRe: How can I lock up my application? Pin
Anna-Jayne Metcalfe19-Nov-01 12:12
Anna-Jayne Metcalfe19-Nov-01 12:12 
GeneralRe: How can I lock up my application? Pin
Cathy19-Nov-01 12:29
Cathy19-Nov-01 12:29 
Andy Metcalfe wrote:
Can you give more details on what you're trying to achieve Cathy? I'm a little unclear what you mean by "but the script re-enables it".

The other thread is trying to determine if they have a valid license. I don't want them to be able to use the program for a certian period during the validation. Our program is a COM server. If I disable the main window, the scripting engine reinables it.

Andy Metcalfe wrote:
However, if EnableWindow() isn't cutting the mustard for you and you just need to prevent menu/toolbar activity, selectively trapping CN_COMMAND messages in an OnCmdMsg() override in the mainframe might achieve what you need. Remember to let CN_UPDATE_COMMAND_UI calls through though or your toolbars etc. won't update properly.

Thank you. I will try that. Smile | :)

Cathy
GeneralRe: How can I lock up my application? Pin
Nish Nishant19-Nov-01 13:03
sitebuilderNish Nishant19-Nov-01 13:03 
GeneralRe: How can I lock up my application? Pin
Anna-Jayne Metcalfe19-Nov-01 22:56
Anna-Jayne Metcalfe19-Nov-01 22:56 
GeneralRe: How can I lock up my application? Pin
Anna-Jayne Metcalfe19-Nov-01 22:52
Anna-Jayne Metcalfe19-Nov-01 22:52 
Generalc++ and database Pin
19-Nov-01 10:38
suss19-Nov-01 10:38 
GeneralMain Dialog & TabPage Pin
XAlien19-Nov-01 10:36
XAlien19-Nov-01 10:36 
GeneralRe: Main Dialog & TabPage Pin
luckylourson19-Nov-01 21:32
luckylourson19-Nov-01 21:32 
GeneralProblems selecting correct override Pin
Bill Wilson19-Nov-01 10:22
Bill Wilson19-Nov-01 10:22 
GeneralProblem solved, feeling stupid Pin
Bill Wilson19-Nov-01 11:19
Bill Wilson19-Nov-01 11:19 
GeneralRe: Problems selecting correct override Pin
Joaquín M López Muñoz19-Nov-01 11:20
Joaquín M López Muñoz19-Nov-01 11:20 
GeneralMemory DC at a differant BPP Pin
clintsinger19-Nov-01 9:40
clintsinger19-Nov-01 9:40 
GeneralRe: Memory DC at a differant BPP Pin
Christian Graus19-Nov-01 10:12
protectorChristian Graus19-Nov-01 10:12 
GeneralRe: Memory DC at a differant BPP Pin
clintsinger19-Nov-01 18:51
clintsinger19-Nov-01 18:51 
GeneralRe: Memory DC at a differant BPP Pin
Christian Graus19-Nov-01 18:57
protectorChristian Graus19-Nov-01 18:57 
QuestionHow??? Pin
pcverden19-Nov-01 9:02
pcverden19-Nov-01 9:02 
AnswerRe: How??? Another Home Work??? Pin
Carlos Antollini19-Nov-01 9:10
Carlos Antollini19-Nov-01 9:10 
GeneralRe: How??? Another Home Work??? Pin
pcverden19-Nov-01 9:52
pcverden19-Nov-01 9:52 
AnswerRe: How??? Pin
Carlos Antollini19-Nov-01 9:26
Carlos Antollini19-Nov-01 9:26 

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.