Register | Login
Views: 19364387
Main | Memberlist | Active users | ACS | Commons | Calendar | Online users
Ranks | FAQ | Color Chart | Photo album | IRC Chat
11-02-05 12:59 PM
0 user currently in Programming. | 3 guests
Acmlm's Board - I2 Archive - Programming - Win32 API help
  
User name:
Password:
Reply:
 

UserPost
HyperLamer
Posts: 4023/8210
Yes, what exactly is the problem; is it not working? If something's failing it's generally a good idea to temporarily add code that outputs the value of GetLastError(), and for long-term you might want to check return values too.
Parasyte
Posts: 406/514
Uh, just place this code in your WM_SIZE handler (assuming this is what you want) Of course, you'll want to change the MapWidth variable there, as well.
Other than that, I don't know what you want.
interdpth
Posts: 428/527
Scrollbar help! Well I need to know how they function right and how to set their max values and stuff My code is
Scroller.cbSize = sizeof(SCROLLINFO);
Scroller.fMask = SIF_ALL;
Scroller.nMax = 512/MapWidth;
Scroller.nMin = 0;
Scroller.nPage = MapWidth;
Scroller.nPos = 0;
Scroller.nTrackPos = 0;
SetScrollInfo(HorScrollBar,SB_CTL,&Scroller,true);
This is for a map editor. Map Width is set by the user the max width at one time is 32 so I need to make it scroll for higher values please someone help
Acmlm's Board - I2 Archive - Programming - Win32 API help


ABII


AcmlmBoard vl.ol (11-01-05)
© 2000-2005 Acmlm, Emuz, et al



Page rendered in 0.010 seconds.