Click here to Skip to main content
15,910,872 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Mouse Clicks in CListCtrl Pin
Rüpel30-Jan-02 3:02
Rüpel30-Jan-02 3:02 
GeneralLink dependent libraries together withe the main EXE file Pin
EdgarBM30-Jan-02 1:08
EdgarBM30-Jan-02 1:08 
GeneralRe: Link dependent libraries together withe the main EXE file Pin
Joaquín M López Muñoz30-Jan-02 3:00
Joaquín M López Muñoz30-Jan-02 3:00 
GeneralRe: Link dependent libraries together withe the main EXE file Pin
EdgarBM30-Jan-02 21:43
EdgarBM30-Jan-02 21:43 
GeneralRe: Link dependent libraries together withe the main EXE file Pin
Joaquín M López Muñoz30-Jan-02 21:56
Joaquín M López Muñoz30-Jan-02 21:56 
GeneralRe: Link dependent libraries together withe the main EXE file Pin
EdgarBM31-Jan-02 1:17
EdgarBM31-Jan-02 1:17 
GeneralLoading a directory into a Combo Control Pin
athick30-Jan-02 0:32
athick30-Jan-02 0:32 
QuestionHow get a rotated standard region Pin
wangyiming30-Jan-02 0:04
wangyiming30-Jan-02 0:04 
1. How can I get a rotated standard region(such as: ellise region, roundrect region)?

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

HRGN hRgn = CreateRectRgn(0,0,220,120);
DWORD size = GetRegionData( hRgn, 1, NULL);

RGNDATA *pData = (RGNDATA*)GlobalAlloc(GMEM_FIXED|GMEM_MOVEABLE,size);
GetRegionData(hRgn, size,pData);

double a = 0.5; // 0
xform.eM11 = (float)cos(a);
xform.eM12 = (float)sin(a);
xform.eM21 = -xform.eM12;
xform.eM22 = xform.eM11;
xform.eDx = 0;
xform.eDy = 0;


HRGN hNewRgn = ExtCreateRegion(&xform,pData->rdh.nRgnSize,pData);
// failure! why ?

GlobalFree(pData);
DeleteObject(hRgn);

DeleteObject(hNewRgn);



2. when a modeless dialog is visible, I click mouse outside the dialog ,
windows send what message by the dialog?


------------------------------------------
my email is wang_yi_ming@263.net

Thank you very much!

AnswerRe: How get a rotated standard region Pin
Joaquín M López Muñoz30-Jan-02 0:53
Joaquín M López Muñoz30-Jan-02 0:53 
Generalhey all, i need help. in a real bind here Pin
Cnoob29-Jan-02 23:26
Cnoob29-Jan-02 23:26 
GeneralRe: hey all, i need help. in a real bind here Pin
Joaquín M López Muñoz29-Jan-02 23:38
Joaquín M López Muñoz29-Jan-02 23:38 
GeneralRe: hey all, i need help. in a real bind here Pin
wangyiming30-Jan-02 0:17
wangyiming30-Jan-02 0:17 
GeneralProblem registering a dll in Win 95 Pin
Volodya Orlenko29-Jan-02 22:41
Volodya Orlenko29-Jan-02 22:41 
GeneralRe: Problem registering a dll in Win 95 Pin
Joaquín M López Muñoz29-Jan-02 23:33
Joaquín M López Muñoz29-Jan-02 23:33 
GeneralRe: Problem registering a dll in Win 95 Pin
Volodya Orlenko29-Jan-02 23:49
Volodya Orlenko29-Jan-02 23:49 
GeneralFormatting multi-rows text! Pin
Eugene Pustovoyt29-Jan-02 21:02
Eugene Pustovoyt29-Jan-02 21:02 
GeneralRe: Formatting multi-rows text! Pin
567890123429-Jan-02 22:25
567890123429-Jan-02 22:25 
GeneralRe: Formatting multi-rows text! Pin
Derek Waters30-Jan-02 11:37
Derek Waters30-Jan-02 11:37 
GeneralRe: Formatting multi-rows text! Pin
Eugene Pustovoyt30-Jan-02 18:28
Eugene Pustovoyt30-Jan-02 18:28 
GeneralRe: Formatting multi-rows text! Pin
Derek Waters30-Jan-02 18:36
Derek Waters30-Jan-02 18:36 
GeneralRe: Formatting multi-rows text! Pin
Eugene Pustovoyt31-Jan-02 19:25
Eugene Pustovoyt31-Jan-02 19:25 
Questionwhere can I find some articles about the "Thread Pool"? Pin
wabc29-Jan-02 20:16
wabc29-Jan-02 20:16 
AnswerRe: where can I find some articles about the "Thread Pool"? Pin
Joaquín M López Muñoz29-Jan-02 23:25
Joaquín M López Muñoz29-Jan-02 23:25 
GeneralPostMessage() Pin
Swinefeaster29-Jan-02 20:07
Swinefeaster29-Jan-02 20:07 
GeneralRe: PostMessage() Pin
Rickard Andersson2029-Jan-02 21:38
Rickard Andersson2029-Jan-02 21:38 

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.