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

C / C++ / MFC

 
GeneralRe: Read KKEY_CURRENT_USER Registry? Pin
Software200711-Feb-09 5:06
Software200711-Feb-09 5:06 
GeneralRe: Read KKEY_CURRENT_USER Registry? Pin
led mike11-Feb-09 5:15
led mike11-Feb-09 5:15 
GeneralRe: Read KKEY_CURRENT_USER Registry? Pin
Software200711-Feb-09 5:20
Software200711-Feb-09 5:20 
GeneralRe: Read KKEY_CURRENT_USER Registry? Pin
Software200711-Feb-09 5:59
Software200711-Feb-09 5:59 
QuestionClass wrapper Pin
jung-kreidler11-Feb-09 4:29
jung-kreidler11-Feb-09 4:29 
AnswerRe: Class wrapper Pin
«_Superman_»11-Feb-09 15:38
professional«_Superman_»11-Feb-09 15:38 
GeneralRe: Class wrapper Pin
jung-kreidler11-Feb-09 20:15
jung-kreidler11-Feb-09 20:15 
QuestionKeypad Dialog Pin
Reagan Conservative11-Feb-09 3:42
Reagan Conservative11-Feb-09 3:42 
I have a dialog that is a keypad. It is called from a Login dialog. The problem is that if a mouse button is clicked outside the keypad dialog, the keypad becomes unusable. I'm thinking that this dialog should be modal. How to accomplish setting the keypad dialog as modal in the following code snippet

void CLogin::OnBnEnterId()
{
// TODO: Add your control notification handler code here
// have to place coords here, since initialization takes place later

winInfo.popup_X = 395;
winInfo.popup_Y = 50;

CKeypad kp(mainFramePtr->wndPtr, winInfo);

int intValue = 0;

if (kp.Get_Integer("Enter ID Number", 0, 99999, &intValue))
{
char temp[6];
char temp1[6];
.
.
.
.


The keypad closes on button that returns IDOK.

Thanks for your help.

AF Pilot

AnswerRe: Keypad Dialog Pin
David Crow11-Feb-09 4:28
David Crow11-Feb-09 4:28 
QuestionUrgent : Dialog box size? Pin
sam_psycho11-Feb-09 1:42
sam_psycho11-Feb-09 1:42 
AnswerRe: Urgent : Dialog box size? Pin
Stuart Dootson11-Feb-09 2:02
professionalStuart Dootson11-Feb-09 2:02 
GeneralRe: Urgent ? Pin
CPallini11-Feb-09 2:20
mveCPallini11-Feb-09 2:20 
GeneralRe: Urgent ? Pin
sam_psycho11-Feb-09 3:24
sam_psycho11-Feb-09 3:24 
JokeRe: Urgent ? Pin
«_Superman_»11-Feb-09 15:43
professional«_Superman_»11-Feb-09 15:43 
QuestionServer/Client Development Pin
raghu valluri11-Feb-09 0:30
raghu valluri11-Feb-09 0:30 
AnswerRe: Server/Client Development Pin
Stuart Dootson11-Feb-09 0:59
professionalStuart Dootson11-Feb-09 0:59 
QuestionChecking ActiveX registration programmatically! Pin
Mohammad Khodaea11-Feb-09 0:27
Mohammad Khodaea11-Feb-09 0:27 
AnswerRe: Checking ActiveX registration programmatically! Pin
_AnsHUMAN_ 11-Feb-09 0:44
_AnsHUMAN_ 11-Feb-09 0:44 
AnswerRe: Checking ActiveX registration programmatically! Pin
Stuart Dootson11-Feb-09 0:53
professionalStuart Dootson11-Feb-09 0:53 
QuestionChild window problem Pin
Abhijit D. Babar11-Feb-09 0:12
Abhijit D. Babar11-Feb-09 0:12 
QuestionHow to build the application in release mode Pin
Member 465174110-Feb-09 23:29
Member 465174110-Feb-09 23:29 
AnswerRe: How to build the application in release mode Pin
Cedric Moonen10-Feb-09 23:54
Cedric Moonen10-Feb-09 23:54 
QuestionHow to find if a process has active UI ? Pin
dharani10-Feb-09 23:25
dharani10-Feb-09 23:25 
AnswerRe: How to find if a process has active UI ? Pin
«_Superman_»10-Feb-09 23:41
professional«_Superman_»10-Feb-09 23:41 
GeneralRe: How to find if a process has active UI ? Pin
dharani10-Feb-09 23:58
dharani10-Feb-09 23:58 

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.