Click here to Skip to main content
15,893,588 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Email config setting. Pin
Richard MacCutchan17-Aug-10 22:27
mveRichard MacCutchan17-Aug-10 22:27 
GeneralRe: Email config setting. Pin
Samarjeet Singh@india17-Aug-10 22:31
Samarjeet Singh@india17-Aug-10 22:31 
GeneralRe: Email config setting. Pin
Richard MacCutchan18-Aug-10 1:15
mveRichard MacCutchan18-Aug-10 1:15 
QuestionRotate rerctangle in Bitmap Pin
raju_shiva17-Aug-10 21:32
raju_shiva17-Aug-10 21:32 
QuestionRe: Rotate rerctangle in Bitmap Pin
CPallini17-Aug-10 21:58
mveCPallini17-Aug-10 21:58 
AnswerRe: Rotate rerctangle in Bitmap Pin
raju_shiva17-Aug-10 22:38
raju_shiva17-Aug-10 22:38 
GeneralRe: Rotate rerctangle in Bitmap Pin
CPallini17-Aug-10 22:49
mveCPallini17-Aug-10 22:49 
GeneralRe: Rotate rerctangle in Bitmap Pin
raju_shiva17-Aug-10 23:13
raju_shiva17-Aug-10 23:13 
CPallini wrote:
{10,10,10,10} as {left,top,right,bottom} values give an empty rectangle


I am not passing the values directly.

As it is a bitmap image,on that i am drawing the rectangle
I am multiplying it :

x1 = (A1 * sf); //i.e (10 * 33.03)
x2 = (A2 * sf); //i.e (10 * 33.03)
y1 = (B1 * sf); //i.e (10 * 33.03)
y2 = (B2 * sf); //i.e (10 * 33.03)


where sf is

sf=(1024/31); //Its a bitmap image

Then while drawing the rectangle,i start as (center.x-left)
MoveToEx(pCellInfo->hDC,center.x-x1,center.y-y2,NULL); //(center.x-left)
                                                       //(center.y-bottom)


I hope you got it.

Thanks
Raj
GeneralRe: Rotate rerctangle in Bitmap Pin
CPallini17-Aug-10 23:19
mveCPallini17-Aug-10 23:19 
GeneralRe: Rotate rerctangle in Bitmap Pin
raju_shiva17-Aug-10 23:45
raju_shiva17-Aug-10 23:45 
QuestionRe: Rotate rerctangle in Bitmap Pin
CPallini17-Aug-10 23:54
mveCPallini17-Aug-10 23:54 
AnswerRe: Rotate rerctangle in Bitmap Pin
raju_shiva18-Aug-10 0:16
raju_shiva18-Aug-10 0:16 
GeneralRe: Rotate rerctangle in Bitmap Pin
CPallini18-Aug-10 0:36
mveCPallini18-Aug-10 0:36 
GeneralRe: Rotate rerctangle in Bitmap Pin
raju_shiva18-Aug-10 1:18
raju_shiva18-Aug-10 1:18 
GeneralRe: Rotate rerctangle in Bitmap Pin
CPallini18-Aug-10 1:47
mveCPallini18-Aug-10 1:47 
GeneralRe: Rotate rerctangle in Bitmap Pin
raju_shiva18-Aug-10 20:54
raju_shiva18-Aug-10 20:54 
GeneralRe: Rotate rerctangle in Bitmap Pin
CPallini18-Aug-10 20:59
mveCPallini18-Aug-10 20:59 
GeneralRe: Rotate rerctangle in Bitmap Pin
Rick York19-Aug-10 15:49
mveRick York19-Aug-10 15:49 
GeneralRe: Rotate rerctangle in Bitmap Pin
CPallini19-Aug-10 21:26
mveCPallini19-Aug-10 21:26 
AnswerRe: Rotate rerctangle in Bitmap Pin
Peter_in_278017-Aug-10 22:00
professionalPeter_in_278017-Aug-10 22:00 
GeneralRe: Rotate rerctangle in Bitmap Pin
raju_shiva17-Aug-10 22:39
raju_shiva17-Aug-10 22:39 
GeneralRe: Rotate rerctangle in Bitmap Pin
Peter_in_278018-Aug-10 12:08
professionalPeter_in_278018-Aug-10 12:08 
GeneralRe: Rotate rerctangle in Bitmap Pin
raju_shiva18-Aug-10 20:55
raju_shiva18-Aug-10 20:55 
QuestionProcess explorer Pin
Sakhalean17-Aug-10 18:45
Sakhalean17-Aug-10 18:45 
AnswerRe: Process explorer Pin
«_Superman_»17-Aug-10 19:05
professional«_Superman_»17-Aug-10 19:05 

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.