Click here to Skip to main content
15,919,479 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: CVS questions: what files to commit? Pin
Jörgen Sigvardsson16-Dec-02 11:30
Jörgen Sigvardsson16-Dec-02 11:30 
GeneralRe: CVS questions: what files to commit? Pin
Code4Food16-Dec-02 12:45
Code4Food16-Dec-02 12:45 
GeneralCView Closing Pin
act_x16-Dec-02 10:06
act_x16-Dec-02 10:06 
GeneralRe: CView Closing Pin
Alvaro Mendez16-Dec-02 10:51
Alvaro Mendez16-Dec-02 10:51 
GeneralCRectTracker inside a CScrollView Pin
Fahr16-Dec-02 9:36
Fahr16-Dec-02 9:36 
GeneralRe: CRectTracker inside a CScrollView Pin
Maximilien16-Dec-02 9:46
Maximilien16-Dec-02 9:46 
GeneralRe: CRectTracker inside a CScrollView Pin
Fahr16-Dec-02 21:31
Fahr16-Dec-02 21:31 
GeneralRe: CRectTracker inside a CScrollView Pin
Azadeh20-Dec-02 7:40
Azadeh20-Dec-02 7:40 
I think Fahr's problem is similar to my problem.I want to explain more , maybe someone could solve our problem.

I wrote a program that someone could choose items from a toolbar and put them on the document by clicking left

button of mouse on the view. I considered a CRectTracker variable for each symbol and in the OnDraw function I

draw each symbol's tracker's rectangle.And for selecting each symbol which is shown on the page I check if the

position of left click of mouse is in the tracker of any of the symbols or not.At the beginning I used CView class

but now I want to use CScrollView in order that my program could support scrolling.I changed the base class of

my view class to CScrollView and write some lines in its OnInitialUpdate in order to set the size of scrolling.Now I

scroll my program but when I put an item on the page and scroll the page , in some places that my item doesn't

exist , it seems that its tracker exists and if I move it or delete it or sth else , those changes would be applied on

the real item that is somewhere upper than there. I think I should change the coordinates of the CRectTracker

variable of my item , but I don't know how.

Thanks
Azadeh
GeneralWaiting for an application to finish Pin
Navin16-Dec-02 9:34
Navin16-Dec-02 9:34 
GeneralRe: Waiting for an application to finish Pin
Joaquín M López Muñoz16-Dec-02 9:38
Joaquín M López Muñoz16-Dec-02 9:38 
GeneralRe: Waiting for an application to finish Pin
Navin16-Dec-02 10:01
Navin16-Dec-02 10:01 
GeneralRe: Waiting for an application to finish Pin
Navin16-Dec-02 10:35
Navin16-Dec-02 10:35 
GeneralRe: Waiting for an application to finish Pin
Michael Dunn16-Dec-02 9:52
sitebuilderMichael Dunn16-Dec-02 9:52 
GeneralRe: Waiting for an application to finish Pin
Navin16-Dec-02 9:55
Navin16-Dec-02 9:55 
GeneralRe: Waiting for an application to finish Pin
Atlantys16-Dec-02 10:06
Atlantys16-Dec-02 10:06 
GeneralRe: Waiting for an application to finish Pin
Navin16-Dec-02 10:11
Navin16-Dec-02 10:11 
GeneralRe: Waiting for an application to finish Pin
Atlantys16-Dec-02 11:09
Atlantys16-Dec-02 11:09 
GeneralRe: Waiting for an application to finish Pin
Todd Smith16-Dec-02 18:59
Todd Smith16-Dec-02 18:59 
GeneralDll Help...... Pin
keb16-Dec-02 9:20
keb16-Dec-02 9:20 
GeneralRe: Dll Help...... Pin
Rickard Andersson2016-Dec-02 9:26
Rickard Andersson2016-Dec-02 9:26 
GeneralRe: Dll Help...... Pin
Alvaro Mendez16-Dec-02 9:29
Alvaro Mendez16-Dec-02 9:29 
GeneralRe: Dll Help...... Pin
keb16-Dec-02 10:04
keb16-Dec-02 10:04 
GeneralRe: Dll Help...... Pin
Alvaro Mendez16-Dec-02 10:25
Alvaro Mendez16-Dec-02 10:25 
GeneralRecent File List Pin
will138316-Dec-02 8:28
will138316-Dec-02 8:28 
GeneralRe: Recent File List Pin
Gary Kirkham16-Dec-02 8:44
Gary Kirkham16-Dec-02 8:44 

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.