A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/main__frame_8cpp_source.html below:

NCBI C++ ToolKit: src/gui/widgets/wx/main_frame.cpp Source File

32 #include <wx/platform.h> 59  const

wxPoint& pos,

const

wxSize&

size

,

long

style )

61

m_HintListener(

NULL

)

88 static const char

*

kMaxTag

=

"Maximized"

;

94

wxRect rc = GetRect();

117  bool max

= IsMaximized();

140

wxFrame::Close(

false

);

162  if

(message == WM_MOUSEACTIVATE && LOWORD(lParam) == HTMENU) {

167

rc = TParent::MSWWindowProc(message, wParam, lParam);

169  if

( message == WM_ENABLE) {

172  bool

enable = (wParam ==

TRUE

);

177

wxWindowList& children = GetChildren();

179

wxWindowList::compatibility_iterator node = children.GetFirst();

182

wxWindow *child = node->GetData();

183

wxFrame* frame =

dynamic_cast<

wxFrame*

>

(child);

186

frame->Enable(enable);

189

node = 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 &section)

CRegistryReadView GetReadView(const string &section) 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