Click here to Skip to main content
16,006,509 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Getting the number of packets received / sent Pin
ThatsAlok6-Jun-05 0:12
ThatsAlok6-Jun-05 0:12 
GeneralRe: Getting the number of packets received / sent Pin
MailtoGops6-Jun-05 4:36
MailtoGops6-Jun-05 4:36 
GeneralRe: Getting the number of packets received / sent Pin
ThatsAlok6-Jun-05 18:05
ThatsAlok6-Jun-05 18:05 
GeneralUse of Enter with Edit Box Pin
sweep1235-Jun-05 23:43
sweep1235-Jun-05 23:43 
GeneralRe: Use of Enter with Edit Box Pin
ThatsAlok5-Jun-05 23:54
ThatsAlok5-Jun-05 23:54 
GeneralRe: Use of Enter with Edit Box Pin
sweep1236-Jun-05 0:32
sweep1236-Jun-05 0:32 
GeneralRe: Use of Enter with Edit Box Pin
ThatsAlok6-Jun-05 0:47
ThatsAlok6-Jun-05 0:47 
GeneralRe: Use of Enter with Edit Box Pin
ddmcr6-Jun-05 0:49
ddmcr6-Jun-05 0:49 
sweep123  wrote:
Was just hoping to use Enter like the Tab key.
don't know how you're gonna do this Smile | :)

Your problem is that the OK button is set to default button and when you press Enter button, automatically OnOk() is called.So override the OnOk handler
void CYourDlg::OnOk()
{
//OnOk();
}
if you only delete the OK button without doing what i wrote above it won't solve the problem.
But if you have already deleted the OK button , then one way to avoid this problem is to add an invisible button and set is as default.



"Go as far as you can see,and when you get there youll see further" - Unknown

GeneralRe: Use of Enter with Edit Box Pin
sweep1236-Jun-05 0:58
sweep1236-Jun-05 0:58 
GeneralRe: Use of Enter with Edit Box Pin
ddmcr6-Jun-05 1:01
ddmcr6-Jun-05 1:01 
GeneralRe: Use of Enter with Edit Box Pin
ThatsAlok6-Jun-05 1:11
ThatsAlok6-Jun-05 1:11 
GeneralRe: Use of Enter with Edit Box Pin
sweep1236-Jun-05 1:20
sweep1236-Jun-05 1:20 
GeneralRe: Use of Enter with Edit Box Pin
ThatsAlok6-Jun-05 1:31
ThatsAlok6-Jun-05 1:31 
GeneralRe: Use of Enter with Edit Box Pin
sweep1236-Jun-05 2:05
sweep1236-Jun-05 2:05 
GeneralRe: Use of Enter with Edit Box Pin
ThatsAlok6-Jun-05 2:17
ThatsAlok6-Jun-05 2:17 
GeneralRe: Use of Enter with Edit Box Pin
sweep1236-Jun-05 3:45
sweep1236-Jun-05 3:45 
GeneralRe: Use of Enter with Edit Box Pin
ThatsAlok6-Jun-05 18:16
ThatsAlok6-Jun-05 18:16 
GeneralRe: Use of Enter with Edit Box Pin
Nilesh K.6-Jun-05 0:40
Nilesh K.6-Jun-05 0:40 
GeneralRe: Use of Enter with Edit Box Pin
David Crow6-Jun-05 2:19
David Crow6-Jun-05 2:19 
GeneralResolve this problem plz Pin
Keitaro215-Jun-05 20:50
Keitaro215-Jun-05 20:50 
GeneralRe: Resolve this problem plz Pin
Christian Graus5-Jun-05 21:37
protectorChristian Graus5-Jun-05 21:37 
GeneralRe: Resolve this problem plz Pin
Keitaro215-Jun-05 22:04
Keitaro215-Jun-05 22:04 
GeneralRe: Resolve this problem plz Pin
Cedric Moonen5-Jun-05 22:17
Cedric Moonen5-Jun-05 22:17 
GeneralRe: Resolve this problem plz Pin
Bob Stanneveld5-Jun-05 23:12
Bob Stanneveld5-Jun-05 23:12 
GeneralRe: Resolve this problem plz Pin
Keitaro216-Jun-05 1:00
Keitaro216-Jun-05 1:00 

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.