You *must* focus!
-
void CWhatever::OnOK()
{
CWnd* pWnd = GetFocus();if (pWnd)
pWnd->SetFocus();CTabPage::OnOK();
}The function was appropriately commented with a Doxygen comment stating "OK. This method is called by the framework when the user chooses the OK button."
-
void CWhatever::OnOK()
{
CWnd* pWnd = GetFocus();if (pWnd)
pWnd->SetFocus();CTabPage::OnOK();
}The function was appropriately commented with a Doxygen comment stating "OK. This method is called by the framework when the user chooses the OK button."
:wtf:
"The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon "Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
-
void CWhatever::OnOK()
{
CWnd* pWnd = GetFocus();if (pWnd)
pWnd->SetFocus();CTabPage::OnOK();
}The function was appropriately commented with a Doxygen comment stating "OK. This method is called by the framework when the user chooses the OK button."
That's the reason
C++
is called an IMPERATIVE LANGUAGE. :-D BTW it reminds my another (already posted) horror:If a=1 And a<>2 And a<>3 Then
:)
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
[My articles] -
void CWhatever::OnOK()
{
CWnd* pWnd = GetFocus();if (pWnd)
pWnd->SetFocus();CTabPage::OnOK();
}The function was appropriately commented with a Doxygen comment stating "OK. This method is called by the framework when the user chooses the OK button."
Sorry - losing focus now. Need caffeine.
Deja View - the feeling that you've seen this post before.
-
Sorry - losing focus now. Need caffeine.
Deja View - the feeling that you've seen this post before.
-
void CWhatever::OnOK()
{
CWnd* pWnd = GetFocus();if (pWnd)
pWnd->SetFocus();CTabPage::OnOK();
}The function was appropriately commented with a Doxygen comment stating "OK. This method is called by the framework when the user chooses the OK button."
:confused:... :wtf: ... :omg: ... :doh: