|
From: James Simpson on 15 Feb 2005 00:27 Hello, I have a MFC application, which does NOT use Scrollbars to scroll the dialog, but the dialog scrolls using the ScrollWindow function, I was wondering how can I go about getting the x and y co-ordinates of the dialog box right after it has scrolled. I have tried GetScrollPos , but that appears to only work with scrollbars, which my application doesn't use. Any ideas? Sincerely, James Simpson
From: Johan Rosengren on 15 Feb 2005 13:10 James, If you are scrolling the window, you should already have the position? You might - if this is for some reason impossible - try with GetWindowOrg. Johan Rosengren Abstrakt Mekanik AB "James Simpson" <JamesSimpson(a)discussions.microsoft.com> a ýcrit dans le message de news:3AC5A1EB-6A45-42A5-ABFB-AFF159BB313F(a)microsoft.com... > Hello, > I have a MFC application, which does NOT use Scrollbars to scroll the > dialog, but the dialog scrolls using the ScrollWindow function, I was > wondering how can I go about getting the x and y co-ordinates of the dialog > box right after it has scrolled. I have tried GetScrollPos , but that > appears to only work with scrollbars, which my application doesn't use. > Any ideas? > > Sincerely, > James Simpson
|
Pages: 1 Prev: Hex data out com port using mscomm Next: Printing Bitmap |