wxPoint& pos,
constwxSize&
size,
longstyle )
61m_HintListener(
NULL)
88 static const char*
kMaxTag=
"Maximized";
94wxRect rc = GetRect();
117 bool max= IsMaximized();
140wxFrame::Close(
false);
162 if(message == WM_MOUSEACTIVATE && LOWORD(lParam) == HTMENU) {
167rc = TParent::MSWWindowProc(message, wParam, lParam);
169 if( message == WM_ENABLE) {
172 boolenable = (wParam ==
TRUE);
177wxWindowList& children = GetChildren();
179wxWindowList::compatibility_iterator node = children.GetFirst();
182wxWindow *child = node->GetData();
183wxFrame* frame =
dynamic_cast<wxFrame*
>(child);
186frame->Enable(enable);
189node = node->GetNext();
192 else if(message == WM_EXITMENULOOP) {
IHintListener - an interface for a component that shows command help hints.
virtual void ShowCommandHint(const string &text)=0
virtual void HideCommandHint()=0
CMainFrame Base class for Application Main Frame, derive your frames from this one.
virtual void SetHintListener(IHintListener *listener)
void OnActivate(wxActivateEvent &event)
virtual void SetRegistryPath(const string &path)
virtual void DoGiveHelp(const wxString &text, bool show)
overriding these function to make it less intrusive
virtual void LoadSettings()
virtual WXLRESULT MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam)
Override wxFrame::MSWWindowProc() in order to handle WM_ENABLE event.
void OnExitClick(wxCommandEvent &event)
IHintListener * m_HintListener
path in registry
void x_RestoreMenuFocus()
wxWindow * m_MenuFocusWnd
virtual void SaveSettings() const
CMainFrame()
Constructors.
class CRegistryReadView provides a nested hierarchical view at a particular key.
bool GetBool(const string &key, bool default_val=false) const
void Set(const string &key, int val)
access a named key at this level, with no recursion
CRegistryWriteView GetWriteView(const string §ion)
CRegistryReadView GetReadView(const string §ion) const
static CWndLayoutReg & GetInstance()
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
static const char * kMaxTag
static const char * kWinRectTag
static void text(MDB_val *v)
const struct ncbi::grid::netcache::search::fields::SIZE size
#define TRUE
bool replacment for C indicating true.
ViewerWindowBase::OnEditMenu ViewerWindowBase::OnJustification EVT_MENU(MID_SHOW_GEOM_VLTNS, ViewerWindowBase::OnShowGeomVltns) EVT_MENU(MID_FIND_PATTERN
void LoadWindowRectFromRegistry(wxRect &rc, const CRegistryReadView &view)
string ToStdString(const wxString &s)
void CorrectWindowRect(wxTopLevelWindow *win, wxRect &rc)
void SaveWindowRectToRegistry(const wxRect &rc, CRegistryWriteView view)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4