Technology Questions

Go Back   Technology Questions > Hardware Questions > Mobile Computers > Tablet PC > Tablet PC Software > Tablet PC Developers

Tablet PC Developers Show off your work while discussing with others how to create ink enabled applications.

Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old 09-05-2009, 07:57 PM
Registered User
 
Join Date: Sep 2009
Posts: 1
bmihok is on a distinguished road
InkPicture control on scrollable control ‘jumps’ when clicked?

Apologies in advance for the wordy-ness. If any one would prefer, I have a small project I mocked up to isolate this very weird behavior.

To observe:
1) Create a simple windows form project
2) Add a TabControl to your form
3) Enable autoscroll on TabPage1
4) Create a custom user control with a height greater than TabPage1
5) To your user control add an InkPicture control. (Put it on the bottom and make it big enough to situate as described in step 6.)
6) Add the user control to TabPage1 of your form. Place it in such a way so that when the form is loaded with the vertical scroll bar at its uppermost position, the InkPicture control will be visible at the bottom of the TabPage but will also extend out into the 'out of form' scrollable area.
7) Click on the InkPicture.

If your application behaves as mine, the scrollbar will move down. Am I wrong to think that this is unexpected behavior? Anyone know how I can make it stop behaving this way? If anyone mocks this up and it doesn't behave this way, PLEASE let me know.

Some other info to chew on...
As far as I can tell the Scroll event does not fire anywhere when this happens. (I added handlers w/ breakpoints to all controls w/ Scroll events. No hits. I also added an override for the WndProc method and checked messages for WM_VSCROLL (my mockup only had the vertical scroll). No scroll messages.)

Any helpful information would be much appreciated.

Thanks in advance.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

 
Old 09-05-2009, 07:57 PM
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
No programs or control panel items will open when clicked Thomboy Windows Vista 9 03-24-2009 03:10 AM
No programs or control panel items will open when clicked Thomboy Windows Vista 1 03-24-2009 03:03 AM
How can I control the size of icons in Control Panel? MaryL Windows Vista 5 07-19-2008 12:40 PM
Lost Control of Control Panel Ken Windows Vista 4 03-04-2008 01:20 PM
Control/C, then Control/V is fine - BUT what happens when you(often) have 2 items to paste ? ship Windows XP 16 02-29-2008 06:40 AM


New To Technology Questions? Do You Need Help with Your Computer or Device? Do You Need Help with this site?

All times are GMT -8. The time now is 01:12 PM.


2003 - 2009 All Rights Reserved. Technology Questions

Search Engine Friendly URLs by vBSEO 3.3.0