vertical scroll bars..
OK, so I'm programming for a handheld unit with Embedded tools, as I've stated before in other threads... and I want to make the form longer than the screen... is this possible, and if so, how can I embed a vertical scroll bar to move down to the other material?
why not? I do it in windows all the time...what handheld unit is it, out of curiosity?
for a V scroll just add this to the rest of your createwindow code (after WS_CHILD or WS_OVERLAPPEDWINDOW or whatever): WS_VSCROLL . that's it. so you'd just have "WS_OVERLAPPEDWINDOW | WS_VSCROLL" or whatever as your attributes.
The handheld is a Compaq iPAQ... I love this thing. It runs WinCE 3.0.
OK, can you explain what you said? I'm a real newbie to this type of programming...
I'm trying to do it the cheap way and put a scrollbar directly on the form, not within a control like a frame or a text box or something. I don't even know if it's possible.
As of right now, I've split the form and created a second form that is just linked, but I'd love to try to do it the other way if possible.
hmm...not sure. Are you using MFC? if you are, I can't help you...
OK, explain to me what MFC and API mean.. I've seen that stuff floating around here but have yet to understand it.
I'm using the eMBedded tools, which is basically Visual Basic for Windows CE.
then wyh are you asking on a C board? lol.
well, I know this is a C board, but I've asked VB questions on here before, since it DOES say Windows Programming... which I figured all languages could be asked about...
I dunno... shoot me.
>>> explain to me what MFC and API mean
API stands for Application Programmers Interface, (or similar). It is usually a series of functions you use to control something. In the case of Windows, you use the Win32 API.
MFC is a class library. It is a series of thin wrappers around the Win32 API which make certain types of application easier to code up by not terribly technical programmers. Anything you can do with MFC, you can do with the API.
It is definitely possible to do what you want to do on a WinCE 3.0 box. We use these things all the time, however we use embedded C++, and hence we can use the API call as described by -KEN-.
Visual Basic is a bit like programming with MFC in that everything is wrapped up in classes. You'll need to talk to a VB person to find out the details. I suspect there is a way of instantiating your form which enables this functionality. Try the VB board at www.programmersheaven.com.
*twitches eye at mention of VB - cocking back pistol* just say when..
Planet Source code, http://www.planet-source-code.com, has some good VB resources, C & C++, and web programming. I go there sometimes to look for code samples. Visual Basic does have its uses, especially when doing database front-end programming & VB Script for ASP web pages. I'm not saying it's necessarily better. I'm just saying it can be useful sometimes.
VBScript can be useful, I'll give it that, but I do VB at school 1st period - I have a right to hate it.
Thanks guys.. that's all a lot of help. I think I just need more resources... Thanks again. :)