Module: Win::Gui
- Defined in:
- lib/win/gui.rb,
lib/win/gui/menu.rb,
lib/win/gui/input.rb,
lib/win/gui/dialog.rb,
lib/win/gui/window.rb,
lib/win/gui/message.rb
Overview
Contains several modules defining Win32 API functions and constants related to Windows GUI (Graphical User Interface)
Defined Under Namespace
Modules: Dialog, Input, Menu, Message, Window
Constant Summary
Constants included from Menu
Menu::ATL_IDC_TAB_CONTROL, Menu::ATL_IDM_FIRST_MDICHILD, Menu::ATL_IDM_WINDOW_FIRST, Menu::ATL_IDM_WINDOW_LAST, Menu::ATL_IDS_IDLEMESSAGE, Menu::ATL_IDS_MDICHILD, Menu::ATL_IDS_MRU_FILE, Menu::ATL_IDS_SCCLOSE, Menu::ATL_IDS_SCFIRST, Menu::ATL_IDS_SCMAXIMIZE, Menu::ATL_IDS_SCMINIMIZE, Menu::ATL_IDS_SCMOVE, Menu::ATL_IDS_SCNEXTWINDOW, Menu::ATL_IDS_SCPREVWINDOW, Menu::ATL_IDS_SCRESTORE, Menu::ATL_IDS_SCSIZE, Menu::ATL_IDS_SCTASKLIST, Menu::ATL_IDW_BAND_FIRST, Menu::ATL_IDW_BAND_LAST, Menu::ATL_IDW_CLIENT, Menu::ATL_IDW_COMMAND_BAR, Menu::ATL_IDW_HSCROLL_FIRST, Menu::ATL_IDW_PANE_FIRST, Menu::ATL_IDW_PANE_LAST, Menu::ATL_IDW_PANE_SAVE, Menu::ATL_IDW_SIZE_BOX, Menu::ATL_IDW_STATUS_BAR, Menu::ATL_IDW_TOOLBAR, Menu::ATL_IDW_VSCROLL_FIRST, Menu::IDC_STATIC, Menu::ID_APPLY_NOW, Menu::ID_APP_ABOUT, Menu::ID_APP_EXIT, Menu::ID_CONTEXT_HELP, Menu::ID_DEFAULT_HELP, Menu::ID_DEFAULT_PANE, Menu::ID_EDIT_CLEAR, Menu::ID_EDIT_CLEAR_ALL, Menu::ID_EDIT_COPY, Menu::ID_EDIT_CUT, Menu::ID_EDIT_FIND, Menu::ID_EDIT_PASTE, Menu::ID_EDIT_PASTE_LINK, Menu::ID_EDIT_PASTE_SPECIAL, Menu::ID_EDIT_REDO, Menu::ID_EDIT_REPEAT, Menu::ID_EDIT_REPLACE, Menu::ID_EDIT_SELECT_ALL, Menu::ID_EDIT_UNDO, Menu::ID_FILE_CLOSE, Menu::ID_FILE_MRU_FILE1, Menu::ID_FILE_MRU_FILE10, Menu::ID_FILE_MRU_FILE11, Menu::ID_FILE_MRU_FILE12, Menu::ID_FILE_MRU_FILE13, Menu::ID_FILE_MRU_FILE14, Menu::ID_FILE_MRU_FILE15, Menu::ID_FILE_MRU_FILE16, Menu::ID_FILE_MRU_FILE2, Menu::ID_FILE_MRU_FILE3, Menu::ID_FILE_MRU_FILE4, Menu::ID_FILE_MRU_FILE5, Menu::ID_FILE_MRU_FILE6, Menu::ID_FILE_MRU_FILE7, Menu::ID_FILE_MRU_FILE8, Menu::ID_FILE_MRU_FILE9, Menu::ID_FILE_MRU_FIRST, Menu::ID_FILE_MRU_LAST, Menu::ID_FILE_NEW, Menu::ID_FILE_OPEN, Menu::ID_FILE_PAGE_SETUP, Menu::ID_FILE_PRINT, Menu::ID_FILE_PRINT_DIRECT, Menu::ID_FILE_PRINT_PREVIEW, Menu::ID_FILE_PRINT_SETUP, Menu::ID_FILE_SAVE, Menu::ID_FILE_SAVE_AS, Menu::ID_FILE_SAVE_COPY_AS, Menu::ID_FILE_SEND_MAIL, Menu::ID_FILE_UPDATE, Menu::ID_FORMAT_FONT, Menu::ID_HELP, Menu::ID_HELP_FINDER, Menu::ID_HELP_INDEX, Menu::ID_HELP_USING, Menu::ID_NEXT_PANE, Menu::ID_OLE_EDIT_CHANGE_ICON, Menu::ID_OLE_EDIT_CONVERT, Menu::ID_OLE_EDIT_LINKS, Menu::ID_OLE_EDIT_PROPERTIES, Menu::ID_OLE_INSERT_NEW, Menu::ID_OLE_VERB_FIRST, Menu::ID_OLE_VERB_LAST, Menu::ID_PANE_CLOSE, Menu::ID_PREV_PANE, Menu::ID_SCROLL_ALL_LEFT, Menu::ID_SCROLL_ALL_RIGHT, Menu::ID_SCROLL_BOTTOM, Menu::ID_SCROLL_DOWN, Menu::ID_SCROLL_LEFT, Menu::ID_SCROLL_PAGE_DOWN, Menu::ID_SCROLL_PAGE_LEFT, Menu::ID_SCROLL_PAGE_RIGHT, Menu::ID_SCROLL_PAGE_UP, Menu::ID_SCROLL_RIGHT, Menu::ID_SCROLL_TOP, Menu::ID_SCROLL_UP, Menu::ID_SEPARATOR, Menu::ID_VIEW_REFRESH, Menu::ID_VIEW_STATUS_BAR, Menu::ID_VIEW_TOOLBAR, Menu::ID_WINDOW_ARRANGE, Menu::ID_WINDOW_CASCADE, Menu::ID_WINDOW_NEW, Menu::ID_WINDOW_SPLIT, Menu::ID_WINDOW_TILE_HORZ, Menu::ID_WINDOW_TILE_VERT, Menu::ID_WIZBACK, Menu::ID_WIZFINISH, Menu::ID_WIZNEXT, Menu::MF_APPEND, Menu::MF_BITMAP, Menu::MF_BYCOMMAND, Menu::MF_BYPOSITION, Menu::MF_CHANGE, Menu::MF_CHECKED, Menu::MF_DEFAULT, Menu::MF_DELETE, Menu::MF_DISABLED, Menu::MF_ENABLED, Menu::MF_END, Menu::MF_GRAYED, Menu::MF_HELP, Menu::MF_HILITE, Menu::MF_INSERT, Menu::MF_MENUBARBREAK, Menu::MF_MENUBREAK, Menu::MF_MOUSESELECT, Menu::MF_OWNERDRAW, Menu::MF_POPUP, Menu::MF_REMOVE, Menu::MF_RIGHTJUSTIFY, Menu::MF_SEPARATOR, Menu::MF_STRING, Menu::MF_SYSMENU, Menu::MF_UNCHECKED, Menu::MF_UNHILITE, Menu::MF_USECHECKBITMAPS, Menu::OBJID_ALERT, Menu::OBJID_CARET, Menu::OBJID_CLIENT, Menu::OBJID_CURSOR, Menu::OBJID_HSCROLL, Menu::OBJID_MENU, Menu::OBJID_NATIVEOM, Menu::OBJID_QUERYCLASSNAMEIDX, Menu::OBJID_SIZEGRIP, Menu::OBJID_SOUND, Menu::OBJID_SYSMENU, Menu::OBJID_TITLEBAR, Menu::OBJID_VSCROLL, Menu::OBJID_WINDOW
Constants included from Library
Constants included from Dialog
Dialog::ErrorIcon, Dialog::IDABORT, Dialog::IDCANCEL, Dialog::IDCONTINUE, Dialog::IDIGNORE, Dialog::IDNO, Dialog::IDOK, Dialog::IDRETRY, Dialog::IDTRYAGAIN, Dialog::IDYES, Dialog::MB_ABORTRETRYIGNORE, Dialog::MB_APPLMODAL, Dialog::MB_CANCELTRYCONTINUE, Dialog::MB_DEFAULT_DESKTOP_ONLY, Dialog::MB_DEFBUTTON1, Dialog::MB_DEFBUTTON2, Dialog::MB_DEFBUTTON3, Dialog::MB_DEFBUTTON4, Dialog::MB_DEFMASK, Dialog::MB_HELP, Dialog::MB_ICONASTERISK, Dialog::MB_ICONERROR, Dialog::MB_ICONEXCLAMATION, Dialog::MB_ICONHAND, Dialog::MB_ICONINFORMATION, Dialog::MB_ICONMASK, Dialog::MB_ICONQUESTION, Dialog::MB_ICONSTOP, Dialog::MB_ICONWARNING, Dialog::MB_MISCMASK, Dialog::MB_MODEMASK, Dialog::MB_NOFOCUS, Dialog::MB_OK, Dialog::MB_OKCANCEL, Dialog::MB_RETRYCANCEL, Dialog::MB_RIGHT, Dialog::MB_RTLREADING, Dialog::MB_SERVICE_NOTIFICATION, Dialog::MB_SERVICE_NOTIFICATION_NT3X, Dialog::MB_SETFOREGROUND, Dialog::MB_SYSTEMMODAL, Dialog::MB_TASKMODAL, Dialog::MB_TOPMOST, Dialog::MB_TYPEMASK, Dialog::MB_USERICON, Dialog::MB_YESNO, Dialog::MB_YESNOCANCEL
Constants included from Window
Window::GA_PARENT, Window::GA_ROOT, Window::GA_ROOTOWNER, Window::GW_CHILD, Window::GW_ENABLEDPOPUP, Window::GW_HWNDFIRST, Window::GW_HWNDLAST, Window::GW_HWNDNEXT, Window::GW_HWNDPREV, Window::GW_OWNER, Window::SW_FORCEMINIMIZE, Window::SW_HIDE, Window::SW_MAXIMIZE, Window::SW_MINIMIZE, Window::SW_NORMAL, Window::SW_RESTORE, Window::SW_SHOW, Window::SW_SHOWDEFAULT, Window::SW_SHOWMAXIMIZED, Window::SW_SHOWMINIMIZED, Window::SW_SHOWMINNOACTIVE, Window::SW_SHOWNA, Window::SW_SHOWNOACTIVATE, Window::SW_SHOWNORMAL
Constants included from Message
Message::PM_NOREMOVE, Message::PM_NOYIELD, Message::PM_QS_INPUT, Message::PM_QS_PAINT, Message::PM_QS_POSTMESSAGE, Message::PM_QS_SENDMESSAGE, Message::PM_REMOVE, Message::QS_ALLEVENTS, Message::QS_ALLINPUT, Message::QS_ALLPOSTMESSAGE, Message::QS_HOTKEY, Message::QS_INPUT, Message::QS_KEY, Message::QS_MOUSE, Message::QS_MOUSEBUTTON, Message::QS_MOUSEMOVE, Message::QS_PAINT, Message::QS_POSTMESSAGE, Message::QS_RAWINPUT, Message::QS_SENDMESSAGE, Message::QS_SMRESULT, Message::QS_TIMER, Message::SC_ARRANGE, Message::SC_CLOSE, Message::SC_CONTEXTHELP, Message::SC_DEFAULT, Message::SC_HOTKEY, Message::SC_HSCROLL, Message::SC_KEYMENU, Message::SC_MAXIMIZE, Message::SC_MINIMIZE, Message::SC_MONITORPOWER, Message::SC_MOUSEMENU, Message::SC_MOVE, Message::SC_NEXTWINDOW, Message::SC_PREVWINDOW, Message::SC_RESTORE, Message::SC_SCREENSAVE, Message::SC_SIZE, Message::SC_TASKLIST, Message::SC_VSCROLL, Message::WA_ACTIVE, Message::WA_CLICKACTIVE, Message::WA_INACTIVE, Message::WM_ACTIVATE, Message::WM_ACTIVATEAPP, Message::WM_AFXFIRST, Message::WM_AFXLAST, Message::WM_APP, Message::WM_APPCOMMAND, Message::WM_ASKCBFORMATNAME, Message::WM_CANCELJOURNAL, Message::WM_CANCELMODE, Message::WM_CAPTURECHANGED, Message::WM_CHANGECBCHAIN, Message::WM_CHANGEUISTATE, Message::WM_CHAR, Message::WM_CHARTOITEM, Message::WM_CHILDACTIVATE, Message::WM_CLEAR, Message::WM_CLOSE, Message::WM_COMMAND, Message::WM_COMMNOTIFY, Message::WM_COMPACTING, Message::WM_COMPAREITEM, Message::WM_CONTEXTMENU, Message::WM_COPY, Message::WM_COPYDATA, Message::WM_CREATE, Message::WM_CTLCOLORBTN, Message::WM_CTLCOLORDLG, Message::WM_CTLCOLOREDIT, Message::WM_CTLCOLORLISTBOX, Message::WM_CTLCOLORMSGBOX, Message::WM_CTLCOLORSCROLLBAR, Message::WM_CTLCOLORSTATIC, Message::WM_CUT, Message::WM_DEADCHAR, Message::WM_DELETEITEM, Message::WM_DESTROY, Message::WM_DESTROYCLIPBOARD, Message::WM_DEVICECHANGE, Message::WM_DEVMODECHANGE, Message::WM_DISPLAYCHANGE, Message::WM_DRAWCLIPBOARD, Message::WM_DRAWITEM, Message::WM_DROPFILES, Message::WM_ENABLE, Message::WM_ENDSESSION, Message::WM_ENTERIDLE, Message::WM_ENTERMENULOOP, Message::WM_ENTERSIZEMOVE, Message::WM_ERASEBKGND, Message::WM_EXITMENULOOP, Message::WM_EXITSIZEMOVE, Message::WM_FONTCHANGE, Message::WM_GETDLGCODE, Message::WM_GETFONT, Message::WM_GETHOTKEY, Message::WM_GETICON, Message::WM_GETMINMAXINFO, Message::WM_GETTEXT, Message::WM_GETTEXTLENGTH, Message::WM_HANDHELDFIRST, Message::WM_HANDHELDLAST, Message::WM_HELP, Message::WM_HOTKEY, Message::WM_HSCROLL, Message::WM_HSCROLLCLIPBOARD, Message::WM_ICONERASEBKGND, Message::WM_IME_CHAR, Message::WM_IME_COMPOSITION, Message::WM_IME_COMPOSITIONFULL, Message::WM_IME_CONTROL, Message::WM_IME_ENDCOMPOSITION, Message::WM_IME_KEYDOWN, Message::WM_IME_KEYLAST, Message::WM_IME_KEYUP, Message::WM_IME_NOTIFY, Message::WM_IME_REQUEST, Message::WM_IME_SELECT, Message::WM_IME_SETCONTEXT, Message::WM_IME_STARTCOMPOSITION, Message::WM_INITDIALOG, Message::WM_INITMENU, Message::WM_INITMENUPOPUP, Message::WM_INPUT, Message::WM_INPUTLANGCHANGE, Message::WM_INPUTLANGCHANGEREQUEST, Message::WM_KEYDOWN, Message::WM_KEYFIRST, Message::WM_KEYUP, Message::WM_KILLFOCUS, Message::WM_LBUTTONDBLCLK, Message::WM_LBUTTONDOWN, Message::WM_LBUTTONUP, Message::WM_MBUTTONDBLCLK, Message::WM_MBUTTONDOWN, Message::WM_MBUTTONUP, Message::WM_MDIACTIVATE, Message::WM_MDICASCADE, Message::WM_MDICREATE, Message::WM_MDIDESTROY, Message::WM_MDIGETACTIVE, Message::WM_MDIICONARRANGE, Message::WM_MDIMAXIMIZE, Message::WM_MDINEXT, Message::WM_MDIREFRESHMENU, Message::WM_MDIRESTORE, Message::WM_MDISETMENU, Message::WM_MDITILE, Message::WM_MEASUREITEM, Message::WM_MENUCHAR, Message::WM_MENUCOMMAND, Message::WM_MENUDRAG, Message::WM_MENUGETOBJECT, Message::WM_MENURBUTTONUP, Message::WM_MENUSELECT, Message::WM_MOUSEACTIVATE, Message::WM_MOUSEFIRST, Message::WM_MOUSEHOVER, Message::WM_MOUSELAST, Message::WM_MOUSELEAVE, Message::WM_MOUSEMOVE, Message::WM_MOUSEWHEEL, Message::WM_MOVE, Message::WM_MOVING, Message::WM_NCACTIVATE, Message::WM_NCCALCSIZE, Message::WM_NCCREATE, Message::WM_NCDESTROY, Message::WM_NCHITTEST, Message::WM_NCLBUTTONDBLCLK, Message::WM_NCLBUTTONDOWN, Message::WM_NCLBUTTONUP, Message::WM_NCMBUTTONDBLCLK, Message::WM_NCMBUTTONDOWN, Message::WM_NCMBUTTONUP, Message::WM_NCMOUSEHOVER, Message::WM_NCMOUSELEAVE, Message::WM_NCMOUSEMOVE, Message::WM_NCPAINT, Message::WM_NCRBUTTONDBLCLK, Message::WM_NCRBUTTONDOWN, Message::WM_NCRBUTTONUP, Message::WM_NCXBUTTONDBLCLK, Message::WM_NCXBUTTONDOWN, Message::WM_NCXBUTTONUP, Message::WM_NEXTDLGCTL, Message::WM_NEXTMENU, Message::WM_NOTIFY, Message::WM_NOTIFYFORMAT, Message::WM_NULL, Message::WM_PAINT, Message::WM_PAINTCLIPBOARD, Message::WM_PAINTICON, Message::WM_PALETTECHANGED, Message::WM_PALETTEISCHANGING, Message::WM_PARENTNOTIFY, Message::WM_PASTE, Message::WM_PENWINFIRST, Message::WM_PENWINLAST, Message::WM_POWER, Message::WM_POWERBROADCAST, Message::WM_PRINT, Message::WM_PRINTCLIENT, Message::WM_QUERYDRAGICON, Message::WM_QUERYENDSESSION, Message::WM_QUERYNEWPALETTE, Message::WM_QUERYOPEN, Message::WM_QUERYUISTATE, Message::WM_QUEUESYNC, Message::WM_QUIT, Message::WM_RBUTTONDBLCLK, Message::WM_RBUTTONDOWN, Message::WM_RBUTTONUP, Message::WM_RENDERALLFORMATS, Message::WM_RENDERFORMAT, Message::WM_SETCURSOR, Message::WM_SETFOCUS, Message::WM_SETFONT, Message::WM_SETHOTKEY, Message::WM_SETICON, Message::WM_SETREDRAW, Message::WM_SETTEXT, Message::WM_SETTINGCHANGE, Message::WM_SHOWWINDOW, Message::WM_SIZE, Message::WM_SIZECLIPBOARD, Message::WM_SIZING, Message::WM_SPOOLERSTATUS, Message::WM_STYLECHANGED, Message::WM_STYLECHANGING, Message::WM_SYNCPAINT, Message::WM_SYSCHAR, Message::WM_SYSCOLORCHANGE, Message::WM_SYSCOMMAND, Message::WM_SYSDEADCHAR, Message::WM_SYSKEYDOWN, Message::WM_SYSKEYUP, Message::WM_TABLET_FIRST, Message::WM_TABLET_LAST, Message::WM_TCARD, Message::WM_THEMECHANGED, Message::WM_TIMECHANGE, Message::WM_TIMER, Message::WM_UNDO, Message::WM_UNICHAR, Message::WM_UNINITMENUPOPUP, Message::WM_UPDATEUISTATE, Message::WM_USER, Message::WM_USERCHANGED, Message::WM_VKEYTOITEM, Message::WM_VSCROLL, Message::WM_VSCROLLCLIPBOARD, Message::WM_WINDOWPOSCHANGED, Message::WM_WINDOWPOSCHANGING, Message::WM_WININICHANGE, Message::WM_WTSSESSION_CHANGE, Message::WM_XBUTTONDBLCLK, Message::WM_XBUTTONDOWN, Message::WM_XBUTTONUP
Constants included from Input
Input::INPUT_MOUSE, Input::KEYEVENTF_EXTENDEDKEY, Input::KEYEVENTF_KEYDOWN, Input::KEYEVENTF_KEYUP, Input::MOUSEEVENTF_ABSOLUTE, Input::MOUSEEVENTF_LEFTDOWN, Input::MOUSEEVENTF_LEFTUP, Input::MOUSEEVENTF_MIDDLEDOWN, Input::MOUSEEVENTF_MIDDLEUP, Input::MOUSEEVENTF_MOVE, Input::MOUSEEVENTF_RIGHTDOWN, Input::MOUSEEVENTF_RIGHTUP, Input::MOUSEEVENTF_WHEEL, Input::MOUSEEVENTF_XDOWN, Input::MOUSEEVENTF_XUP, Input::VK_ALT, Input::VK_BACK, Input::VK_CANCEL, Input::VK_CAPITAL, Input::VK_CONTROL, Input::VK_DELETE, Input::VK_DOWN, Input::VK_END, Input::VK_ESCAPE, Input::VK_EXECUTE, Input::VK_HELP, Input::VK_HOME, Input::VK_INSERT, Input::VK_LEFT, Input::VK_MENU, Input::VK_NEXT, Input::VK_OEM_1, Input::VK_OEM_102, Input::VK_OEM_COMMA, Input::VK_OEM_PERIOD, Input::VK_PAUSE, Input::VK_PRINT, Input::VK_PRIOR, Input::VK_RETURN, Input::VK_RIGHT, Input::VK_SELECT, Input::VK_SHIFT, Input::VK_SNAPSHOT, Input::VK_SPACE, Input::VK_TAB, Input::VK_UP, Input::WHEEL_DELTA, Input::XBUTTON1, Input::XBUTTON2
Method Summary
Methods included from Library
#callback, #define_api, #define_snake_method, #enforce_count, extended, #function, #generate_names, #generate_signature, #generate_snake_method_body, #try_function
Methods included from Dialog
#CreateDialog, #CreateDialogIndirect, #DialogBox, #DialogBoxIndirect
Methods included from Window
#foreground?, #hide_window, return_enum, return_string, #shut_window, #text