Click here to Skip to main content
15,891,248 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
QuestionMaking ATL OLE DB Provider templates support updating of data Pin
haiyonghan3-Jan-06 20:12
haiyonghan3-Jan-06 20:12 
QuestionRTL UI in PropertySheet? Pin
hjm34093-Jan-06 18:58
hjm34093-Jan-06 18:58 
QuestionPossible to add controls to a dialog on the fly? (wtl) Pin
ioctl513-Jan-06 2:05
ioctl513-Jan-06 2:05 
AnswerRe: Possible to add controls to a dialog on the fly? (wtl) Pin
Michael Dunn3-Jan-06 8:21
sitebuilderMichael Dunn3-Jan-06 8:21 
NewsAt Last! My DCOM Tutorial for VS.NET is Here! Pin
Brian C Hart30-Dec-05 22:32
professionalBrian C Hart30-Dec-05 22:32 
QuestionHow to write data to a file when it is in a vector Pin
Larry Mills Sr30-Dec-05 14:13
Larry Mills Sr30-Dec-05 14:13 
AnswerRe: How to write data to a file when it is in a vector Pin
Stephen Hewitt8-Jan-06 16:51
Stephen Hewitt8-Jan-06 16:51 
Questionwhy not message return Pin
HOW WHAT30-Dec-05 3:26
HOW WHAT30-Dec-05 3:26 
template <class T>
class CMessage
{
BEGIN_MSG_MAP_EX(CMessage)
MESSAGE_HANDLER(WM_NCLBUTTONDOWN, OnNcLButtonDown)
END_MSG_MAP()

LRESULT OnNcLButtonDown(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled)
{
T* pT = static_cast<T*>(this);

pT->DefWindowProc();
return 0;
}
};

class CMainDlg : public CDialogImpl<CMainDlg>,
public CMessage<CMainDlg>
{
public:
......
BEGIN_MSG_MAP_EX(CMainDlg)
CHAIN_MSG_MAP(CMessage<CMainDlg>)
END_MSG_MAP()
...
};

---------------------------------

i used spy++ see, WM_NCLBUTTONDOWN posted but not return? why i used pT->DefWindowProc(); but can't return?
AnswerRe: why not message return Pin
Rob Caldecott30-Dec-05 3:55
Rob Caldecott30-Dec-05 3:55 
GeneralRe: why not message return Pin
HOW WHAT30-Dec-05 17:16
HOW WHAT30-Dec-05 17:16 
AnswerRe: why not message return Pin
Stephen Hewitt8-Jan-06 17:43
Stephen Hewitt8-Jan-06 17:43 
QuestionATL problem .... Pin
bobetko29-Dec-05 11:32
bobetko29-Dec-05 11:32 
AnswerRe: ATL problem .... Pin
Igor Vigdorchik29-Dec-05 17:52
Igor Vigdorchik29-Dec-05 17:52 
AnswerRe: ATL problem .... Pin
Michael Dunn31-Dec-05 10:58
sitebuilderMichael Dunn31-Dec-05 10:58 
QuestionAbout using IPersistStreamInit to load HTML File Pin
simonchen.net28-Dec-05 20:00
simonchen.net28-Dec-05 20:00 
AnswerRe: About using IPersistStreamInit to load HTML File Pin
simonchen.net29-Dec-05 19:24
simonchen.net29-Dec-05 19:24 
QuestionWrite OLETypes to a binary file Pin
sameerbhise.pspl28-Dec-05 17:17
sameerbhise.pspl28-Dec-05 17:17 
AnswerRe: Write OLETypes to a binary file Pin
Jörgen Sigvardsson5-Jan-06 9:01
Jörgen Sigvardsson5-Jan-06 9:01 
QuestionGetting Rebar Hieght with WTL Pin
Eoinoc28-Dec-05 6:51
Eoinoc28-Dec-05 6:51 
AnswerRe: Getting Rebar Hieght with WTL Pin
Eoinoc29-Dec-05 14:19
Eoinoc29-Dec-05 14:19 
QuestionLoad a dll into an Out of Proc Server Pin
misha_grewal27-Dec-05 0:25
misha_grewal27-Dec-05 0:25 
QuestionA istringstream question Pin
zghelp21-Dec-05 19:32
zghelp21-Dec-05 19:32 
QuestionRe: A istringstream question Pin
toxcct21-Dec-05 21:46
toxcct21-Dec-05 21:46 
AnswerRe: A istringstream question Pin
zghelp22-Dec-05 20:16
zghelp22-Dec-05 20:16 
GeneralRe: A istringstream question Pin
toxcct22-Dec-05 21:14
toxcct22-Dec-05 21:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.