Click here to Skip to main content
15,895,777 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: c code of rotate image(imrotate) Pin
ashish_2418825-Jun-09 0:19
ashish_2418825-Jun-09 0:19 
GeneralRe: c code of rotate image(imrotate) Pin
ashish_2418825-Jun-09 0:24
ashish_2418825-Jun-09 0:24 
RantRe: c code of rotate image(imrotate) Pin
Rajesh R Subramanian25-Jun-09 0:36
professionalRajesh R Subramanian25-Jun-09 0:36 
GeneralRe: c code of rotate image(imrotate) [modified] Pin
CPallini25-Jun-09 0:43
mveCPallini25-Jun-09 0:43 
GeneralRe: c code of rotate image(imrotate) Pin
Rajesh R Subramanian25-Jun-09 0:45
professionalRajesh R Subramanian25-Jun-09 0:45 
GeneralRe: c code of rotate image(imrotate) Pin
CPallini25-Jun-09 0:41
mveCPallini25-Jun-09 0:41 
GeneralRe: c code of rotate image(imrotate) Pin
ashish_2418825-Jun-09 0:14
ashish_2418825-Jun-09 0:14 
QuestionPRINT PREVIEW ZOOM COMBOBOX Pin
Subhash Madhukar24-Jun-09 23:10
Subhash Madhukar24-Jun-09 23:10 
Hi Friends,

I need to show zoom combo box in print preview window like Microsoft power point print preview.

I removed zoom in and zoom out buttons.

I dervied my class i.e.

class CPrintPreviewView : public CPreviewView
{
  void SetScaledSize(UINT nPage);
}

void CPrintPreviewView ::SetScaledSize(UINT nPage)
{
switch(m_nZoomState)
{
case ZOOM_25:
     pRatio->cx = 25
     pRatio->cy  = 100;
break;

case ZOOM_400:
   pRatio->cx = 400
   pRatio>cy  = 100;
break;
}
}


I inserted the zoom combobox and added zoom levels from

25% to 400%, as user selects value in cobmobox, I update zoom ratio and call DoZoom function.

But there is some calculation problem.... ??? I dont know what ??

But if i keep zoom in & zoom out buttons and click zoom out button once
and then use combo , there is no problem.

Everthing is fine.

Can you please provide me some code snippet.


Thanks,
Subhash Madhukar
AnswerRe: PRINT PREVIEW ZOOM COMBOBOX Pin
Roger Allen26-Jun-09 2:37
Roger Allen26-Jun-09 2:37 
QuestionSliderCtrl Pin
p_196024-Jun-09 23:10
p_196024-Jun-09 23:10 
AnswerRe: SliderCtrl Pin
Naveen24-Jun-09 23:46
Naveen24-Jun-09 23:46 
QuestionMD5 using openssl Pin
shrims4u24-Jun-09 23:09
shrims4u24-Jun-09 23:09 
AnswerRe: MD5 using openssl Pin
Stuart Dootson25-Jun-09 0:46
professionalStuart Dootson25-Jun-09 0:46 
GeneralRe: MD5 using openssl Pin
shrims4u25-Jun-09 5:58
shrims4u25-Jun-09 5:58 
GeneralRe: MD5 using openssl Pin
Stuart Dootson25-Jun-09 6:06
professionalStuart Dootson25-Jun-09 6:06 
QuestionProblem Compiling in VS 2005 after installing microsoft platform SDK for Windows Server 2003 SP1 Pin
REDSERPENT724-Jun-09 22:11
REDSERPENT724-Jun-09 22:11 
AnswerRe: Problem Compiling in VS 2005 after installing microsoft platform SDK for Windows Server 2003 SP1 Pin
Naveen24-Jun-09 22:49
Naveen24-Jun-09 22:49 
GeneralRe: Problem Compiling in VS 2005 after installing microsoft platform SDK for Windows Server 2003 SP1 Pin
REDSERPENT724-Jun-09 22:58
REDSERPENT724-Jun-09 22:58 
GeneralRe: Problem Compiling in VS 2005 after installing microsoft platform SDK for Windows Server 2003 SP1 Pin
Naveen24-Jun-09 23:13
Naveen24-Jun-09 23:13 
GeneralRe: Problem Compiling in VS 2005 after installing microsoft platform SDK for Windows Server 2003 SP1 Pin
REDSERPENT724-Jun-09 23:25
REDSERPENT724-Jun-09 23:25 
GeneralRe: Problem Compiling in VS 2005 after installing microsoft platform SDK for Windows Server 2003 SP1 Pin
Naveen24-Jun-09 23:34
Naveen24-Jun-09 23:34 
AnswerRe: Problem Compiling in VS 2005 after installing microsoft platform SDK for Windows Server 2003 SP1 Pin
smitty015725-Jun-09 11:29
smitty015725-Jun-09 11:29 
Questionhow to convert bstr to char[256] Pin
ashish8patil24-Jun-09 22:04
ashish8patil24-Jun-09 22:04 
AnswerRe: how to convert bstr to char[256] Pin
Rajesh R Subramanian24-Jun-09 22:13
professionalRajesh R Subramanian24-Jun-09 22:13 
GeneralRe: how to convert bstr to char[256] Pin
ashish8patil24-Jun-09 22:27
ashish8patil24-Jun-09 22:27 

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.