Click here to Skip to main content
15,897,891 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to make the mfc button as press & lock Pin
LaHaHa27-Oct-05 21:38
LaHaHa27-Oct-05 21:38 
GeneralRe: How to make the mfc button as press & lock Pin
LaHaHa27-Oct-05 21:50
LaHaHa27-Oct-05 21:50 
AnswerRe: How to make the mfc button as press & lock Pin
BadKarma27-Oct-05 21:06
BadKarma27-Oct-05 21:06 
GeneralRe: How to make the mfc button as press & lock Pin
LaHaHa27-Oct-05 21:51
LaHaHa27-Oct-05 21:51 
QuestionThread ending problem in CFormView Pin
ledallam27-Oct-05 16:34
ledallam27-Oct-05 16:34 
QuestionRe: Thread ending problem in CFormView Pin
Roger Stoltz27-Oct-05 21:08
Roger Stoltz27-Oct-05 21:08 
AnswerRe: Thread ending problem in CFormView Pin
Blake Miller28-Oct-05 7:39
Blake Miller28-Oct-05 7:39 
QuestionPreventing OnLButtonUp handler beign called in the CFormView in certain conditions. Pin
ledallam27-Oct-05 16:24
ledallam27-Oct-05 16:24 
Hi,

I have a form view derived from CFormView on which I have placed several buttons,and onclick of the button i.e in LButtonUp handler, it takes the user to a different screen. It takes some time to show up the new screen as some thread processing has to take place for showing up the new screen. After the user clicks on a button and while the processing is going on, if the user clicks on another button my program is asserting. Hence I want to prevent the clicks on other buttons when the processing is going on. The buttons on my view are CBitmap buttons and totally there are 30 buttons. So when the user clicks on one button, I want to prevent him from clcking on all other 29 buttons, in other words I want to prevent the handlers in LButtonDown and LButtonUp from getting called. I want to revert back to normal state when the for view is shown initially and if for any reason the handler function returns and the user has to stay in the current view itself.

Can anyone please help me to do this.
Thanks
Madhavi.
AnswerRe: Preventing OnLButtonUp handler beign called in the CFormView in certain conditions. Pin
Christian Graus27-Oct-05 16:30
protectorChristian Graus27-Oct-05 16:30 
GeneralRe: Preventing OnLButtonUp handler beign called in the CFormView in certain conditions. Pin
ledallam27-Oct-05 18:54
ledallam27-Oct-05 18:54 
GeneralRe: Preventing OnLButtonUp handler beign called in the CFormView in certain conditions. Pin
Christian Graus27-Oct-05 19:03
protectorChristian Graus27-Oct-05 19:03 
Questionexecution access permissions Pin
Luke Murray27-Oct-05 16:00
Luke Murray27-Oct-05 16:00 
AnswerRe: execution access permissions Pin
Blake V. Miller27-Oct-05 16:29
Blake V. Miller27-Oct-05 16:29 
GeneralRe: execution access permissions Pin
Luke Murray27-Oct-05 16:51
Luke Murray27-Oct-05 16:51 
GeneralRe: execution access permissions Pin
Blake V. Miller24-Nov-05 9:16
Blake V. Miller24-Nov-05 9:16 
QuestionImport Certificate to PKCS 11 token Pin
Rajkishore Patel27-Oct-05 15:44
Rajkishore Patel27-Oct-05 15:44 
AnswerRe: Import Certificate to PKCS 11 token Pin
duyaofei22-Oct-09 23:18
duyaofei22-Oct-09 23:18 
GeneralRe: Import Certificate to PKCS 11 token Pin
na265094527-Mar-11 17:14
na265094527-Mar-11 17:14 
QuestionGet Window below mouse Pin
Andrei B27-Oct-05 15:08
Andrei B27-Oct-05 15:08 
AnswerRe: Get Window below mouse Pin
Andrei B27-Oct-05 15:25
Andrei B27-Oct-05 15:25 
GeneralRe: Get Window below mouse Pin
Trollslayer28-Oct-05 3:32
mentorTrollslayer28-Oct-05 3:32 
QuestionAccess Violation on App InitInstance Pin
NeverFall27-Oct-05 15:07
NeverFall27-Oct-05 15:07 
AnswerRe: Access Violation on App InitInstance Pin
Prakash Nadar27-Oct-05 16:22
Prakash Nadar27-Oct-05 16:22 
GeneralRe: Access Violation on App InitInstance Pin
NeverFall27-Oct-05 16:54
NeverFall27-Oct-05 16:54 
GeneralRe: Access Violation on App InitInstance Pin
kakan27-Oct-05 19:36
professionalkakan27-Oct-05 19:36 

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.