Problems w/ SCROLLBAR control - win32 C

Win32 Programming

    Next

  • 1. Bitmap Printing
    Hi I have a program that can display images on a number of pages. When I try to print the problem that I have is that only the first image is printed on all of the pages. What could be the problem?
  • 2. Command Button
    I have a command button on a Tab Form and when I go to each Tab I want to have the focus on a particular command button. In vb.net how do I do this?
  • 3. Capture Screen into AVI
    Hi, I need catch or capture screen in real time into a Avi file in .Net, Thanks
  • 4. JPG images in a grid
    Is there a data aware grid I can use to display jpg images that I have stored in a Sql Server table? It looks like the MSHFlexgrid can do bitmaps, but they would take up about 1Mb of space in my db as opposed to about 12k as jpg.I have a query tool that allows users to request whatever data they like and one or two fields have pictures. I need to be able to bind the grid to an ADO recordset dynamically created by the user. Help!

Problems w/ SCROLLBAR control - win32 C

Postby sojib » Sun, 23 Nov 2003 06:45:10 GMT

I'm trying to create a scrollbar control for my 
application.  For the logic, I"m doing basically exactly 
what is done in the scrolling text example here:

 http://www.**--****.com/ 
url=/library/en-
us/shellcc/platform/commctls/scrollbars/usingscrollbars.asp

except instead of..having a standard scrollbar for a 
window, I have..my own control set up, say hwndSCROLL.

So, I'm passing in hwndSCROLL to the 
SetScrollInfo/getScrollInfo..functions.  For some 
reason.., the drag is not working at all, nor is the thumb 
(scroll box) changing size..when I"m resizing windows, 
it's sipmly default size and locked to the left.  

Though, if i try out the code..assigning my main window..a 
standard scrollbar, it works perfectly fine.  I'm not 
sure..what's wrong.

If the soultion is simply to don't bother w/ having a 
separate control..., i'll buy it..if someone can point out 
how to NOT have it be at the bottom of the window.

Other than that, any suggestions???  The code..is 
literally the same as the link, except i'm using my own 
control.., thanks.

RE: Problems w/ SCROLLBAR control - win32 C

Postby JHornick » Wed, 26 Nov 2003 01:32:29 GMT

Hi,

It sounds like your control isn't sending the right messages
to its parent.

Anyway, this is a UI issue, not a GDI one. Please post follow-ups
on the UI newsgroup.

Thanks,
- John
Microsoft Developer Support
This posting is provided "AS IS" with no warranties, and confers no rights.
Visit  http://www.**--****.com/ 






Return to Win32 Programming

 

Who is online

Users browsing this forum: No registered users and 53 guest