close
 

Add Resource = menu

image

 

SET ID & Option

image

image

go back to the main dialog

set Menu = IDRMENU1

image

 

Insert Dialog

image

Style = Popup

image

 

right now, The MFC Dialog like that:

image

 

 

add dialog for login windows (CLogin)

add an event on the main Dialog (MFCMenuDlg.cpp)

image

now, click login will popup "Login windows"

image

 

 

Demo Code:

https://github.com/rex4ssd/MFCDialogMenuDemo

 
 
 

 

arrow
arrow
    全站熱搜

    天才R 發表在 痞客邦 留言(0) 人氣()