Click here to Skip to main content
15,900,110 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Linux Compiler Pin
Jörgen Sigvardsson27-Mar-04 19:29
Jörgen Sigvardsson27-Mar-04 19:29 
GeneralRe: Linux Compiler Pin
Nemanja Trifunovic27-Mar-04 19:30
Nemanja Trifunovic27-Mar-04 19:30 
GeneralRe: Linux Compiler Pin
jhwurmbach28-Mar-04 22:22
jhwurmbach28-Mar-04 22:22 
QuestionError with libraries? Pin
satcat27-Mar-04 9:12
satcat27-Mar-04 9:12 
AnswerRe: Error with libraries? Pin
Heywood Jablome27-Mar-04 18:39
Heywood Jablome27-Mar-04 18:39 
GeneralRe: Error with libraries? Pin
satcat28-Mar-04 1:49
satcat28-Mar-04 1:49 
AnswerRe: Error with libraries? Pin
Ryan Binns28-Mar-04 17:20
Ryan Binns28-Mar-04 17:20 
QuestionHow to make button ,a default button at Run Time Pin
Touseef Afzal27-Mar-04 9:08
Touseef Afzal27-Mar-04 9:08 
Hi:
i have an SDI Application in which i have used CFormView as my view Class ,

i have two edit controls Edit1 and Edit2 and two buttons Ok and Cancle

i want to make Ok as default Button as Edit1 Control gets focus and when Edit2 Control gets focus i want to make Cancle as default Button ,

i m trying this code to do this

on Event Handler of Edit1 Set Focus i m trying this code

ptrOne->SetButtonStyle(ptrOne->GetButtonStyle() | BS_BS_DEFPUSHBUTTON)

but it is not working ,

can any one help me....

Thanks

"Winner's don't do different things , they do things differently "
AnswerRe: How to make button ,a default button at Run Time Pin
Neville Franks27-Mar-04 9:55
Neville Franks27-Mar-04 9:55 
GeneralRe: How to make button ,a default button at Run Time Pin
Steve S29-Mar-04 0:47
Steve S29-Mar-04 0:47 
GeneralInteresting #include Issue Pin
eoge27-Mar-04 8:14
eoge27-Mar-04 8:14 
GeneralRe: Interesting #include Issue Pin
Neville Franks27-Mar-04 9:47
Neville Franks27-Mar-04 9:47 
GeneralRe: Interesting #include Issue Pin
27-Mar-04 10:28
suss27-Mar-04 10:28 
GeneralRe: Interesting #include Issue Pin
Gary R. Wheeler28-Mar-04 14:05
Gary R. Wheeler28-Mar-04 14:05 
GeneralRe: Interesting #include Issue Pin
Prakash Nadar27-Mar-04 13:51
Prakash Nadar27-Mar-04 13:51 
GeneralSuppress return and escape in a dlg Pin
dolph_loe27-Mar-04 7:01
dolph_loe27-Mar-04 7:01 
GeneralRe: Suppress return and escape in a dlg Pin
Rob Manderson27-Mar-04 7:40
protectorRob Manderson27-Mar-04 7:40 
GeneralRe: Suppress return and escape in a dlg Pin
Michael Dunn27-Mar-04 7:57
sitebuilderMichael Dunn27-Mar-04 7:57 
GeneralRe: Suppress return and escape in a dlg Pin
Antony M Kancidrowski29-Mar-04 11:52
Antony M Kancidrowski29-Mar-04 11:52 
GeneralDifference Between CListCtrl and CListView Pin
laiju27-Mar-04 6:13
laiju27-Mar-04 6:13 
GeneralRe: Difference Between CListCtrl and CListView Pin
ian mariano27-Mar-04 6:42
ian mariano27-Mar-04 6:42 
GeneralRe: Difference Between CListCtrl and CListView Pin
laiju27-Mar-04 11:32
laiju27-Mar-04 11:32 
GeneralRe: Difference Between CListCtrl and CListView Pin
Gary R. Wheeler28-Mar-04 13:43
Gary R. Wheeler28-Mar-04 13:43 
GeneralGet The Frame Object Pin
ali khalilvand27-Mar-04 4:57
ali khalilvand27-Mar-04 4:57 
GeneralRe: Get The Frame Object Pin
Prakash Nadar27-Mar-04 6:09
Prakash Nadar27-Mar-04 6:09 

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.