What is the syntax if I want to default as NO ?

131 views
Skip to first unread message

CCH

unread,
May 7, 2022, 1:48:28 AM5/7/22
to Harbour Developers
Hi All

This code will default to Yes :
nMsgBoxID:=wapi_MessageBox( 0, cMsg, cTitle, hb_BitOr( WIN_MB_YESNO,  WIN_MB_ICONQUESTION ) )

  What is the syntax if I want to default as NO ?

TIA

Pete

unread,
May 8, 2022, 1:14:34 PM5/8/22
to Harbour Developers
wapi_MessageBox( 0, cMsg, cTitle, hb_BitOr( WIN_MB_YESNO,  WIN_MB_ICONQUESTION,  WIN_MB_DEFBUTTON2 )

Pete

unread,
May 8, 2022, 1:20:04 PM5/8/22
to Harbour Developers
On Sunday, 8 May 2022 at 20:14:34 UTC+3 Pete wrote:
wapi_MessageBox( 0, cMsg, cTitle, hb_BitOr( WIN_MB_YESNO,  WIN_MB_ICONQUESTION,  WIN_MB_DEFBUTTON2 )


however,  questions of this type should be directed to harbour-users group
 

Reply all
Reply to author
Forward
0 new messages