IDA SDK

- Main Page
- Header Files
- Classes
- Modules

Macros
Form open flags

## Detailed Description

passed as options to OpenForm_c() and open_tform()

## Macros
#define | FORM_MDI 0x01
| start by default as MDI
#define | FORM_TAB 0x02
| attached by default to a tab
#define | FORM_RESTORE 0x04
| restore state from desktop config
#define | FORM_ONTOP 0x08
| form should be "ontop"
#define | FORM_MENU 0x10
| form must be listed in the windows menu More...
#define | FORM_CENTERED 0x20
| form will be centered on the screen More...
#define | FORM_PERSIST 0x40
| form will persist until explicitly closed with close_tform() More...
#define | FORM_QWIDGET 0x80
| windows: use QWidget* instead of HWND in ui_tform_visible More...
#define | FORM_CLOSED_BY_ESC 0x100
| override idagui.cfg:CLOSED_BY_ESC: esc will close
#define | FORM_NOT_CLOSED_BY_ESC 0x200
| override idagui.cfg:CLOSED_BY_ESC: esc will not close

## Macro Definition Documentation

#define FORM_MENU 0x10

form must be listed in the windows menu

(automatically set for all plugins)

#define FORM_CENTERED 0x20

form will be centered on the screen

Returns
  void

#define FORM_PERSIST 0x40

form will persist until explicitly closed with close_tform()

Returns
  nothing

#define FORM_QWIDGET 0x80

windows: use QWidget* instead of HWND in ui_tform_visible

this flag is ignored in unix because we never use HWND there. around 2011/09 we plan to get rid of HWND and always use QWidget* regardless of this flag.