Click here to Skip to main content
15,891,431 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Marquee Progress Control Pin
JM22519-Apr-10 0:15
JM22519-Apr-10 0:15 
GeneralRe: Marquee Progress Control Pin
Eric Olstad25-Oct-10 8:10
Eric Olstad25-Oct-10 8:10 
QuestionGetting response from aspx page Pin
Pryabu8-Apr-10 20:35
Pryabu8-Apr-10 20:35 
AnswerRe: Getting response from aspx page Pin
eusto9-Apr-10 2:28
eusto9-Apr-10 2:28 
AnswerRe: Getting response from aspx page Pin
daveyerwin9-Apr-10 13:55
daveyerwin9-Apr-10 13:55 
GeneralRe: Getting response from aspx page Pin
Pryabu11-Apr-10 18:08
Pryabu11-Apr-10 18:08 
GeneralRe: Getting response from aspx page Pin
daveyerwin12-Apr-10 12:59
daveyerwin12-Apr-10 12:59 
QuestionScrolling size on zooming Pin
Anu_Bala8-Apr-10 18:31
Anu_Bala8-Apr-10 18:31 
Hi,
I got one CZoomView sample file form code project.Actually i want zoom fucntion in my applcaiton for every view.In tht,initially when i set scrollposition,extra window is appearing.
For example,in OnDraw(),i set background of window as black
CRect mClientArea; 
GetClientRect(&mClientArea);	
pDC->FillRect(&mClientArea,&CBrush(RGB(0,0,0)));

I set scroolsize as
m_layout.cx = GetSystemMetrics( SM_CXSCREEN );
m_layout.cy = GetSystemMetrics( SM_CYSCREEN );
m_page.cx = m_layout.cx/2; m_page.cy = m_layout.cy/2;
m_line.cx = m_layout.cx/50; m_line.cy = m_layout.cy/50;
SetScrollSizes(MM_TEXT, m_layout, m_page, m_line);


What happended is after execution,when i scroll the horizonatal or vertical scrolls,the window is scrolling more than actual window rect.
More white screen is appearing apart for black background.How can i avoid that? Because while zooming,if user move the scrolls,then extra empty window will appear.i want to avoid that.
Anu

AnswerRe: Scrolling size on zooming Pin
kylur9-Apr-10 9:15
kylur9-Apr-10 9:15 
QuestionHow do I use std::stringstream to format data to a string like sprintf "%02d"[modified] Pin
akira328-Apr-10 17:51
akira328-Apr-10 17:51 
AnswerRe: How do I use std::stringstream to printf "%02d" Pin
KingsGambit8-Apr-10 18:36
KingsGambit8-Apr-10 18:36 
AnswerRe: How do I use std::stringstream to printf "%02d" Pin
Gwenio8-Apr-10 18:38
Gwenio8-Apr-10 18:38 
QuestionHow to use a Dialog Template as an item in another Dialog. Pin
Bram van Kampen8-Apr-10 15:06
Bram van Kampen8-Apr-10 15:06 
AnswerRe: How to use a Dialog Template as an item in another Dialog. Pin
cmk8-Apr-10 15:53
cmk8-Apr-10 15:53 
QuestionLPWSTR / Win32 Pin
Fareed Rizkalla8-Apr-10 7:10
Fareed Rizkalla8-Apr-10 7:10 
AnswerRe: LPWSTR / Win32 Pin
PJ Arends8-Apr-10 7:47
professionalPJ Arends8-Apr-10 7:47 
AnswerRe: LPWSTR / Win32 Pin
CPallini8-Apr-10 9:43
mveCPallini8-Apr-10 9:43 
AnswerRe: LPWSTR / Win32 Pin
Joe Woodbury8-Apr-10 10:57
professionalJoe Woodbury8-Apr-10 10:57 
GeneralRe: LPWSTR / Win32 Pin
Emilio Garavaglia8-Apr-10 21:15
Emilio Garavaglia8-Apr-10 21:15 
GeneralRe: LPWSTR / Win32 Pin
CPallini8-Apr-10 21:24
mveCPallini8-Apr-10 21:24 
GeneralRe: LPWSTR / Win32 Pin
Emilio Garavaglia8-Apr-10 21:42
Emilio Garavaglia8-Apr-10 21:42 
GeneralRe: LPWSTR / Win32 Pin
CPallini8-Apr-10 21:57
mveCPallini8-Apr-10 21:57 
GeneralRe: LPWSTR / Win32 Pin
Fareed Rizkalla8-Apr-10 22:26
Fareed Rizkalla8-Apr-10 22:26 
GeneralRe: LPWSTR / Win32 Pin
Eugen Podsypalnikov8-Apr-10 23:09
Eugen Podsypalnikov8-Apr-10 23:09 
GeneralRe: LPWSTR / Win32 Pin
Fareed Rizkalla8-Apr-10 23:25
Fareed Rizkalla8-Apr-10 23:25 

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.