Click here to Skip to main content
16,006,493 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Can we use the "Source Browser" in VC.net Pin
Maxwell Chen22-Apr-04 16:15
Maxwell Chen22-Apr-04 16:15 
GeneralProblem with sizing Pin
ykutanoor21-Apr-04 23:01
ykutanoor21-Apr-04 23:01 
GeneralRe: Problem with sizing Pin
Cedric Moonen22-Apr-04 1:13
Cedric Moonen22-Apr-04 1:13 
GeneralCImageList + CTreeCtrl problem Pin
YaronNir21-Apr-04 22:57
YaronNir21-Apr-04 22:57 
QuestionHow to create a list ctrl with transparent background? Pin
Avraham21-Apr-04 22:27
Avraham21-Apr-04 22:27 
AnswerRe: How to create a list ctrl with transparent background? Pin
Rob Caldecott21-Apr-04 23:05
Rob Caldecott21-Apr-04 23:05 
GeneralRe: How to create a list ctrl with transparent background? Pin
Avraham21-Apr-04 23:53
Avraham21-Apr-04 23:53 
GeneralRotating bitmap around its center Pin
Gadjuka21-Apr-04 21:57
Gadjuka21-Apr-04 21:57 
Hi!
I'm trying to get a bitmap to rotate. I want the bitmap to rotate around its midpoint (or an abitrary point)
I first used the formula:
<br />
xNew = (x * cosTemp) - (y * sinTemp);<br />
yNew = (x * sinTemp) + (y * cosTemp);<br />

but this only rotated the bitmap around the upper-left corner, and therefore I changed to this:
<br />
xNew = ((x * cosTemp) - (y * sinTemp)) + xRotAxis;<br />
yNew = ((x * sinTemp) + (y * cosTemp)) + yRotAxis;<br />

now the image is rotating around the x-and yRotAxis, BUT at the upper-left corner of the surface and thus hiding 3/4:s of the picture!

How do I make it rotate around its center at the surfaces' center? Confused | :confused:
GeneralHelp with CSplitterWnd-&gt;CreateView method,trying to load a CDialog derived class Pin
Victor Nikol21-Apr-04 21:25
Victor Nikol21-Apr-04 21:25 
GeneralHelp finding old intel MMX application notes Pin
uus9921-Apr-04 20:58
uus9921-Apr-04 20:58 
GeneralRe: Help finding old intel MMX application notes Pin
uus9921-Apr-04 21:32
uus9921-Apr-04 21:32 
GeneralRe: Help finding old intel MMX application notes Pin
Anonymous21-Apr-04 23:45
Anonymous21-Apr-04 23:45 
GeneralRe: Help finding old intel MMX application notes Pin
uus9922-Apr-04 20:24
uus9922-Apr-04 20:24 
Generaldisplaying Integer. Pin
amardude21-Apr-04 20:52
amardude21-Apr-04 20:52 
GeneralRe: displaying Integer. Pin
Maxwell Chen21-Apr-04 21:07
Maxwell Chen21-Apr-04 21:07 
GeneralRe: displaying Integer. Pin
amardude21-Apr-04 21:57
amardude21-Apr-04 21:57 
GeneralRe: displaying Integer. Pin
Maxwell Chen21-Apr-04 22:24
Maxwell Chen21-Apr-04 22:24 
GeneralRe: displaying Integer. Pin
Anonymous22-Apr-04 5:47
Anonymous22-Apr-04 5:47 
GeneralRe: displaying Integer. Pin
Rory Solley21-Apr-04 22:49
Rory Solley21-Apr-04 22:49 
GeneralRe: displaying Integer. Pin
Maxwell Chen21-Apr-04 23:03
Maxwell Chen21-Apr-04 23:03 
GeneralRe: displaying Integer. Pin
Rory Solley21-Apr-04 23:11
Rory Solley21-Apr-04 23:11 
Questionhow to disable precompiled headers ? Pin
intelligent21-Apr-04 20:35
intelligent21-Apr-04 20:35 
AnswerRe: how to disable precompiled headers ? Pin
Anonymous21-Apr-04 21:13
Anonymous21-Apr-04 21:13 
AnswerRe: how to disable precompiled headers ? Pin
toxcct21-Apr-04 23:14
toxcct21-Apr-04 23:14 
GeneralRe: how to disable precompiled headers ? Pin
Prakash Nadar22-Apr-04 1:06
Prakash Nadar22-Apr-04 1:06 

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.