Click here to Skip to main content
15,898,036 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralUse Enter key in Edit box Pin
suncertification23-May-05 1:22
susssuncertification23-May-05 1:22 
GeneralRe: Use Enter key in Edit box Pin
toxcct23-May-05 1:27
toxcct23-May-05 1:27 
GeneralRe: Use Enter key in Edit box Pin
suncertification23-May-05 2:51
susssuncertification23-May-05 2:51 
GeneralRe: Use Enter key in Edit box [EDITED] Pin
toxcct23-May-05 2:57
toxcct23-May-05 2:57 
GeneralRe: Use Enter key in Edit box Pin
ddmcr23-May-05 1:34
ddmcr23-May-05 1:34 
GeneralRe: Use Enter key in Edit box Pin
suncertification23-May-05 2:53
susssuncertification23-May-05 2:53 
GeneralRe: Use Enter key in Edit box Pin
ddmcr23-May-05 4:06
ddmcr23-May-05 4:06 
GeneralRe: Use Enter key in Edit box [EDITED] Pin
toxcct23-May-05 4:10
toxcct23-May-05 4:10 
Giorgi Moniava wrote:
n this case you will have to drop any button make it "Default Button" and "Invisible"

bad coding...

moreover, if you have to change the default button programatically (when the code executes), how will you do ? - i doublt you can like this...

use CDialog::SetDefID() instead into OnInitDialog()
CDialog::SetDefID()
this->SetDefID(IDC_BUTTON1);




TOXCCT >>> GEII power
[toxcct][VisualCalc]
GeneralRe: Use Enter key in Edit box [EDITED] Pin
ddmcr23-May-05 7:03
ddmcr23-May-05 7:03 
GeneralRe: Use Enter key in Edit box [EDITED] Pin
toxcct23-May-05 20:17
toxcct23-May-05 20:17 
GeneralRe: Use Enter key in Edit box Pin
GDavy23-May-05 3:06
GDavy23-May-05 3:06 
GeneralSearchPath API fails in UNICODE debug build Pin
Vinaya23-May-05 1:00
Vinaya23-May-05 1:00 
GeneralRe: SearchPath API fails in UNICODE debug build Pin
Ryan Binns23-May-05 4:19
Ryan Binns23-May-05 4:19 
GeneralRe: SearchPath API fails in UNICODE debug build Pin
RChin23-May-05 4:24
RChin23-May-05 4:24 
GeneralRe: SearchPath API fails in UNICODE debug build Pin
Vinaya23-May-05 18:27
Vinaya23-May-05 18:27 
GeneralCapture handle of window from process id Pin
saravananvv23-May-05 0:45
saravananvv23-May-05 0:45 
GeneralRe: Capture handle of window from process id Pin
Flit24-May-05 3:08
Flit24-May-05 3:08 
GeneralRecord Set failed to open Pin
mikobi23-May-05 0:42
mikobi23-May-05 0:42 
GeneralRe: Record Set failed to open Pin
David Crow23-May-05 2:18
David Crow23-May-05 2:18 
GeneralNo effect after calling SetButtonInfo in a CFormView Pin
AnTri23-May-05 0:41
AnTri23-May-05 0:41 
GeneralRe: No effect after calling SetButtonInfo in a CFormView Pin
Ryan Binns23-May-05 4:21
Ryan Binns23-May-05 4:21 
GeneralHTTP Parser, method HEAD Pin
Anonymous23-May-05 0:33
Anonymous23-May-05 0:33 
GeneralConverting from CComBSTR to std::string Pin
Franz Klein22-May-05 23:55
Franz Klein22-May-05 23:55 
GeneralRe: Converting from CComBSTR to std::string Pin
RChin23-May-05 0:14
RChin23-May-05 0:14 
GeneralPreventing a window frm closing Pin
softwaremonkey22-May-05 23:40
softwaremonkey22-May-05 23:40 

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.