Click here to Skip to main content
15,892,537 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
AnswerRe: Hiding Interface in ATL Pin
Igor Vigdorchik19-Oct-05 13:39
Igor Vigdorchik19-Oct-05 13:39 
GeneralRe: Hiding Interface in ATL Pin
logicaldna19-Oct-05 23:13
logicaldna19-Oct-05 23:13 
GeneralRe: Hiding Interface in ATL Pin
Igor Vigdorchik20-Oct-05 3:22
Igor Vigdorchik20-Oct-05 3:22 
GeneralRe: Hiding Interface in ATL Pin
logicaldna20-Oct-05 17:35
logicaldna20-Oct-05 17:35 
QuestionAdding a second object to a ATL/COM dll Pin
almc18-Oct-05 6:15
almc18-Oct-05 6:15 
AnswerRe: Adding a second object to a ATL/COM dll Pin
ThatsAlok4-Dec-05 22:21
ThatsAlok4-Dec-05 22:21 
Questiondialogbar control Pin
tirucapricorn14-Oct-05 19:56
tirucapricorn14-Oct-05 19:56 
AnswerRe: dialogbar control Pin
wlwlxj14-Oct-05 20:57
wlwlxj14-Oct-05 20:57 
I'll show some code about card,write by myself,i'm chinese:

void CCardsCtrl::OnDraw(
CDC* pdc, const CRect& rcBounds, const CRect& rcInvalid)
{
// TODO: Replace the following code with your own drawing code.
CBitmap* pOldBitmap = NULL;
CBitmap bitmap;
CDC bmpDC;
CRect rect;
CPoint ptLeftUp;
//ÔËÐÐģʽÏÂÒƶ¯´°¿Ú
if(AmbientUserMode())
{
GetRectInContainer(&rect);
rect.bottom -= m_sOffset;
rect.top -= m_sOffset;
MoveWindow(rect);
}
//»æÖÆÆË¿Ë
bmpDC.CreateCompatibleDC(pdc);
if(m_bBackground) //ÏÔʾ±³¾°
{
if(m_sBackBmp == 1)
{
bitmap.LoadBitmap(IDB_BITMAP_BACK1);
}
else
{
bitmap.LoadBitmap(IDB_BITMAP_BACK2);
}
}
else //ÏÔʾÅÆÃæ
{
bitmap.LoadBitmap(IDB_BITMAP_11+m_sValue-1);
}
pOldBitmap = bmpDC.SelectObject(&bitmap);
pdc->BitBlt(rcBounds.left, rcBounds.top, rcBounds.Width(), rcBounds.Height(), &bmpDC, rcBounds.left, rcBounds.top, SRCCOPY);
bmpDC.SelectObject(pOldBitmap);
bitmap.DeleteObject();
}

ddddddddddddddddddddd
QuestionIDispatch - I NEED HELP! Pin
honae14-Oct-05 7:58
honae14-Oct-05 7:58 
AnswerRe: IDispatch - I NEED HELP! Pin
JonEngle14-Oct-05 8:26
JonEngle14-Oct-05 8:26 
Questionhow to handle message of grandchild window Pin
HeartFriend13-Oct-05 18:23
HeartFriend13-Oct-05 18:23 
AnswerRe: how to handle message of grandchild window Pin
HeartFriend13-Oct-05 19:44
HeartFriend13-Oct-05 19:44 
Questionhow to implement for sharing data in com Pin
kiluar13-Oct-05 0:14
kiluar13-Oct-05 0:14 
AnswerRe: how to implement for sharing data in com Pin
ThatsAlok13-Oct-05 20:18
ThatsAlok13-Oct-05 20:18 
GeneralRe: how to implement for sharing data in com Pin
wlwlxj14-Oct-05 21:04
wlwlxj14-Oct-05 21:04 
GeneralRe: how to implement for sharing data in com Pin
ThatsAlok14-Oct-05 23:53
ThatsAlok14-Oct-05 23:53 
QuestionWTL User Interface in MFC application Pin
Mircea Grelus12-Oct-05 22:11
Mircea Grelus12-Oct-05 22:11 
AnswerRe: WTL User Interface in MFC application Pin
Mircea Grelus12-Oct-05 22:17
Mircea Grelus12-Oct-05 22:17 
QuestionI need a high man to help me Pin
Fired Fish12-Oct-05 19:02
Fired Fish12-Oct-05 19:02 
AnswerRe: I need a high man to help me Pin
User 21559713-Oct-05 7:50
User 21559713-Oct-05 7:50 
GeneralRe: I need a high man to help me Pin
wlwlxj14-Oct-05 21:05
wlwlxj14-Oct-05 21:05 
Questionhow to change BSTR variability to STRING Pin
Fired Fish12-Oct-05 18:20
Fired Fish12-Oct-05 18:20 
AnswerRe: how to change BSTR variability to STRING Pin
ThatsAlok13-Oct-05 20:16
ThatsAlok13-Oct-05 20:16 
GeneralRe: how to change BSTR variability to STRING Pin
wlwlxj14-Oct-05 20:50
wlwlxj14-Oct-05 20:50 
QuestionHow to use a class written in WTL 7.0 in an MFC application Pin
cauvang12-Oct-05 15:14
cauvang12-Oct-05 15: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.