How To open the expert properties?

 

Hey everyone,

maybe simple question for you. I have a message box in an EA and in case by clicking the OK button I want to open the expert propierties. I still know how to code the message box, but I don't know what to call after the click?

Example: if(mycheckbox==IDOK) doing what??

Thanks a lot guys!

 
Dan: I want to open the expert propierties.

No such function exists. You'll have to send the F7 key to the terminal (kbd_event.)

#import "user32.dll"
   void     keybd_event(int bVk,int bScan,int dwFlags,int dwExtraInfo);
#import

#define KEYEVENTF_KEYUP    0x0002
#define VK_F7              118   //F7 key
keybd_event (key, 0, 0, 0);
keybd_event (key, 0, KEYEVENTF_KEYUP, 0);
 
whroeder1:

No such function exists. You'll have to send the F7 key to the terminal (kbd_event.)

Thanks whroeder1 for this!