@pymethod int|PyCMenu|GetHandle|Returns the menu object's underlying hMenu.
| 155 | } |
| 156 | // @pymethod int|PyCMenu|GetHandle|Returns the menu object's underlying hMenu. |
| 157 | PyObject *PyCMenu::GetHandle(PyObject *self, PyObject *args) |
| 158 | { |
| 159 | HMENU hMenu = GetMenu(self); |
| 160 | if (!hMenu) |
| 161 | return NULL; |
| 162 | return Py_BuildValue("i",hMenu); |
| 163 | } |
| 164 | // @pymethod int|PyCMenu|GetMenuItemCount|Determines the number of items in a menu. |
| 165 | PyObject *PyCMenu::GetMenuItemCount(PyObject *self, PyObject *args) |
| 166 | { |
no outgoing calls
no test coverage detected