Click here to Skip to main content
15,923,845 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralMFCan you Introduce... Pin
Polite Programmer6-Oct-04 12:35
Polite Programmer6-Oct-04 12:35 
GeneralRe: MFCan you Introduce... Pin
Joaquín M López Muñoz6-Oct-04 12:56
Joaquín M López Muñoz6-Oct-04 12:56 
GeneralRe: MFCan you Introduce... Pin
Polite Programmer6-Oct-04 13:05
Polite Programmer6-Oct-04 13:05 
GeneralRe: MFCan you Introduce... Pin
Joaquín M López Muñoz6-Oct-04 13:20
Joaquín M López Muñoz6-Oct-04 13:20 
GeneralRe: MFCan you Introduce... Pin
toxcct6-Oct-04 22:50
toxcct6-Oct-04 22:50 
GeneralATL 2-byte leak, i'm embarassed Pin
Eugene Homyakov6-Oct-04 5:28
Eugene Homyakov6-Oct-04 5:28 
GeneralRe: ATL 2-byte leak, i'm embarassed Pin
unimatrics10-Oct-04 7:03
unimatrics10-Oct-04 7:03 
GeneralMessage Map problem Pin
qur6-Oct-04 1:11
qur6-Oct-04 1:11 
I have a Class CMyEdit which is inherit from CWindowImpl class and contains the Message Map for LButtonDown message.

Now at run time I want to attach this class with Edit box using its window handler and want to capture the LButtondown event. Problem is i am not able to capture the LButtonDown message even if CMyEdit class is attached to Edit box.

Code below show the way i am doing it.
<br />
class CMyEdit : public  CWindowImpl <CMyEdit><br />
{<br />
    BEGIN_MSG_MAP(CMyEdit)<br />
        MESSAGE_HANDLER(WM_LBUTTONDOWN, OnLButtonDown)<br />
    END_MSG_MAP()<br />
<br />
};<br />
<br />
//Now at runtime:<br />
<br />
CMyEdit oMyEdit;<br />
oMyEdit.Attach(hWdnEdit);     //Assuming hWndEdit is Edit box handler <br />
<br />


thanks
qur
QuestionIs possible to use ATL 7.0 in VC.6 ? Pin
Rodrigo Pinto Pereira de Souza5-Oct-04 9:50
Rodrigo Pinto Pereira de Souza5-Oct-04 9:50 
AnswerRe: Is possible to use ATL 7.0 in VC.6 ? Pin
toxcct5-Oct-04 21:26
toxcct5-Oct-04 21:26 
AnswerRe: Is possible to use ATL 7.0 in VC.6 ? Pin
Kevin McFarlane9-Oct-04 4:13
Kevin McFarlane9-Oct-04 4:13 
GeneralRe: Is possible to use ATL 7.0 in VC.6 ? Pin
Jörgen Sigvardsson9-Oct-04 13:15
Jörgen Sigvardsson9-Oct-04 13:15 
GeneralRe: Is possible to use ATL 7.0 in VC.6 ? Pin
Kevin McFarlane10-Oct-04 0:38
Kevin McFarlane10-Oct-04 0:38 
GeneralRe: Is possible to use ATL 7.0 in VC.6 ? Pin
Jörgen Sigvardsson10-Oct-04 6:30
Jörgen Sigvardsson10-Oct-04 6:30 
Generalkey_compare problem in maps Pin
sips4-Oct-04 19:48
sips4-Oct-04 19:48 
GeneralRe: key_compare problem in maps Pin
Joaquín M López Muñoz4-Oct-04 20:03
Joaquín M López Muñoz4-Oct-04 20:03 
GeneralRe: key_compare problem in maps Pin
sips4-Oct-04 20:36
sips4-Oct-04 20:36 
GeneralRe: key_compare problem in maps Pin
Joaquín M López Muñoz4-Oct-04 21:10
Joaquín M López Muñoz4-Oct-04 21:10 
GeneralRe: key_compare problem in maps Pin
sips4-Oct-04 22:58
sips4-Oct-04 22:58 
GeneralFlicker Problem in Listview Pin
Anonymous4-Oct-04 1:11
Anonymous4-Oct-04 1:11 
GeneralSTL stupid question Pin
RadioShark4-Oct-04 0:41
RadioShark4-Oct-04 0:41 
GeneralRe: STL stupid question Pin
Joaquín M López Muñoz4-Oct-04 2:33
Joaquín M López Muñoz4-Oct-04 2:33 
GeneralATL / STL : Dumb question maybe... Pin
Malcolm Smart30-Sep-04 10:40
Malcolm Smart30-Sep-04 10:40 
GeneralRe: ATL / STL : Dumb question maybe... Pin
Joaquín M López Muñoz30-Sep-04 11:15
Joaquín M López Muñoz30-Sep-04 11:15 
GeneralRe: ATL / STL : Dumb question maybe... Pin
Kevin McFarlane1-Oct-04 12:24
Kevin McFarlane1-Oct-04 12:24 

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.