Click here to Skip to main content
15,849,768 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: c code of rotate image(imrotate) Pin
ashish_2418825-Jun-09 1:19
ashish_2418825-Jun-09 1:19 
GeneralRe: c code of rotate image(imrotate) Pin
ashish_2418825-Jun-09 1:24
ashish_2418825-Jun-09 1:24 
RantRe: c code of rotate image(imrotate) Pin
Rajesh R Subramanian25-Jun-09 1:36
professionalRajesh R Subramanian25-Jun-09 1:36 
GeneralRe: c code of rotate image(imrotate) [modified] Pin
CPallini25-Jun-09 1:43
mveCPallini25-Jun-09 1:43 
GeneralRe: c code of rotate image(imrotate) Pin
Rajesh R Subramanian25-Jun-09 1:45
professionalRajesh R Subramanian25-Jun-09 1:45 
GeneralRe: c code of rotate image(imrotate) Pin
CPallini25-Jun-09 1:41
mveCPallini25-Jun-09 1:41 
GeneralRe: c code of rotate image(imrotate) Pin
ashish_2418825-Jun-09 1:14
ashish_2418825-Jun-09 1:14 
QuestionPRINT PREVIEW ZOOM COMBOBOX Pin
Subhash Madhukar25-Jun-09 0:10
Subhash Madhukar25-Jun-09 0: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 3:37
Roger Allen26-Jun-09 3:37 
QuestionSliderCtrl Pin
p_196025-Jun-09 0:10
p_196025-Jun-09 0:10 
AnswerRe: SliderCtrl Pin
Naveen25-Jun-09 0:46
Naveen25-Jun-09 0:46 
QuestionMD5 using openssl Pin
shrims4u25-Jun-09 0:09
shrims4u25-Jun-09 0:09 
AnswerRe: MD5 using openssl Pin
Stuart Dootson25-Jun-09 1:46
professionalStuart Dootson25-Jun-09 1:46 
GeneralRe: MD5 using openssl Pin
shrims4u25-Jun-09 6:58
shrims4u25-Jun-09 6:58 
GeneralRe: MD5 using openssl Pin
Stuart Dootson25-Jun-09 7:06
professionalStuart Dootson25-Jun-09 7:06 
QuestionProblem Compiling in VS 2005 after installing microsoft platform SDK for Windows Server 2003 SP1 Pin
REDSERPENT724-Jun-09 23:11
REDSERPENT724-Jun-09 23:11 
AnswerRe: Problem Compiling in VS 2005 after installing microsoft platform SDK for Windows Server 2003 SP1 Pin
Naveen24-Jun-09 23:49
Naveen24-Jun-09 23:49 
GeneralRe: Problem Compiling in VS 2005 after installing microsoft platform SDK for Windows Server 2003 SP1 Pin
REDSERPENT724-Jun-09 23:58
REDSERPENT724-Jun-09 23:58 
GeneralRe: Problem Compiling in VS 2005 after installing microsoft platform SDK for Windows Server 2003 SP1 Pin
Naveen25-Jun-09 0:13
Naveen25-Jun-09 0:13 
GeneralRe: Problem Compiling in VS 2005 after installing microsoft platform SDK for Windows Server 2003 SP1 Pin
REDSERPENT725-Jun-09 0:25
REDSERPENT725-Jun-09 0:25 
GeneralRe: Problem Compiling in VS 2005 after installing microsoft platform SDK for Windows Server 2003 SP1 Pin
Naveen25-Jun-09 0:34
Naveen25-Jun-09 0:34 
AnswerRe: Problem Compiling in VS 2005 after installing microsoft platform SDK for Windows Server 2003 SP1 Pin
smitty015725-Jun-09 12:29
smitty015725-Jun-09 12:29 
Questionhow to convert bstr to char[256] Pin
ashish8patil24-Jun-09 23:04
ashish8patil24-Jun-09 23:04 
AnswerRe: how to convert bstr to char[256] Pin
Rajesh R Subramanian24-Jun-09 23:13
professionalRajesh R Subramanian24-Jun-09 23:13 
GeneralRe: how to convert bstr to char[256] Pin
ashish8patil24-Jun-09 23:27
ashish8patil24-Jun-09 23: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.