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

C / C++ / MFC

 
AnswerRe: Hi All, I have to write a code in VC++ , to convert *.ppt file to *.jpg file,can you tell me how can i do it????? Pin
David Crow31-Oct-07 2:50
David Crow31-Oct-07 2:50 
GeneralRe: Hi All, I have to write a code in VC++ , to convert *.ppt file to *.jpg file,can you tell me how can i do it????? Pin
anchorwang31-Oct-07 16:14
anchorwang31-Oct-07 16:14 
GeneralRe: Hi All, I have to write a code in VC++ , to convert *.ppt file to *.jpg file,can you tell me how can i do it????? Pin
David Crow1-Nov-07 2:40
David Crow1-Nov-07 2:40 
QuestionToolTip for comboBox Pin
sheshidar30-Oct-07 23:56
sheshidar30-Oct-07 23:56 
QuestionVirtual function & VPTR issue Pin
Neo Andreson30-Oct-07 23:52
Neo Andreson30-Oct-07 23:52 
AnswerRe: Virtual function & VPTR issue Pin
Paresh Chitte31-Oct-07 2:18
Paresh Chitte31-Oct-07 2:18 
Questionhow to scroll MSflexgrid? Pin
panthal30-Oct-07 23:47
panthal30-Oct-07 23:47 
AnswerRe: how to scroll MSflexgrid? Pin
chandu00431-Oct-07 2:08
chandu00431-Oct-07 2:08 
hai,
here i have some clue.
to achieve your task, follow these steps.
1. in pretranslate message, write the following code.
 if(pMSg->hwnd==m_grid.m_hWnd)
{
if(pMsg->message==161)
{
int debug=0;//now put a break point here and debug the application.
}
}
2.run it in debug mode, and click the down portion of the dialog(i.e. for down scroll)
now you will be taken to the code as specified in point 1.
3.now see the values of pmsg->wparam and lparam say for example x and y.
4.now, in the place, where you want to automatically scroll your grid,
use the following code to scroll 1 cell.
m_grid.SendMessage(161,x,y);
i hope this logic is a bit confusing. but i tried it and it works.
if you could understand the above, then this should work for you too.
any more doubts, you are welcome.


--------------------------------------------
Suggestion to the members:
Please prefix your main thread subject with [SOLVED] if it is solved.
thanks.
chandu.

GeneralRe: how to scroll MSflexgrid?[SOLVED] Pin
panthal31-Oct-07 2:23
panthal31-Oct-07 2:23 
GeneralRe: how to scroll MSflexgrid?[SOLVED] Pin
chandu00431-Oct-07 2:37
chandu00431-Oct-07 2:37 
QuestionScroll Position in Flexgrid Pin
Shivarudrayya H30-Oct-07 23:41
Shivarudrayya H30-Oct-07 23:41 
AnswerRe: Scroll Position in Flexgrid Pin
chandu00431-Oct-07 2:15
chandu00431-Oct-07 2:15 
AnswerRe: Scroll Position in Flexgrid Pin
panthal31-Oct-07 2:20
panthal31-Oct-07 2:20 
QuestionHow to make CList inside CList Pin
manish.patel30-Oct-07 23:39
manish.patel30-Oct-07 23:39 
AnswerRe: How to make CList inside CList Pin
Nelek30-Oct-07 23:43
protectorNelek30-Oct-07 23:43 
GeneralRe: How to make CList inside CList Pin
manish.patel31-Oct-07 0:13
manish.patel31-Oct-07 0:13 
GeneralRe: How to make CList inside CList Pin
Roger Broomfield31-Oct-07 0:41
Roger Broomfield31-Oct-07 0:41 
GeneralRe: How to make CList inside CList Pin
Nelek31-Oct-07 1:30
protectorNelek31-Oct-07 1:30 
QuestionWhat is the meaning of Manifest in visual 2005 C++ project ( unmanaged code ) Pin
Yanshof30-Oct-07 23:12
Yanshof30-Oct-07 23:12 
AnswerRe: What is the meaning of Manifest in visual 2005 C++ project ( unmanaged code ) Pin
Cedric Moonen30-Oct-07 23:24
Cedric Moonen30-Oct-07 23:24 
QuestionLearning COM Pin
vipin_nvk30-Oct-07 22:54
vipin_nvk30-Oct-07 22:54 
AnswerRe: Learning COM Pin
Neo Andreson30-Oct-07 23:01
Neo Andreson30-Oct-07 23:01 
AnswerRe: Learning COM Pin
Hamid_RT30-Oct-07 23:18
Hamid_RT30-Oct-07 23:18 
AnswerRe: Learning COM Pin
followait30-Oct-07 23:21
followait30-Oct-07 23:21 
AnswerRe: Learning COM Pin
Arun Venkatesan31-Oct-07 20:13
Arun Venkatesan31-Oct-07 20:13 

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.