Click here to Skip to main content
15,914,070 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: casting char to wchar? Pin
bobhou28-May-05 12:55
bobhou28-May-05 12:55 
AnswerRe: casting char to wchar? Pin
Michael Dunn28-May-05 10:14
sitebuilderMichael Dunn28-May-05 10:14 
GeneralRe: casting char to wchar? Pin
bobhou28-May-05 12:53
bobhou28-May-05 12:53 
GeneralRe: casting char to wchar? Pin
Michael Dunn28-May-05 18:19
sitebuilderMichael Dunn28-May-05 18:19 
GeneralRe: casting char to wchar? Pin
bobhou29-May-05 4:01
bobhou29-May-05 4:01 
AnswerRe: casting char to wchar? Pin
Blake Miller31-May-05 6:37
Blake Miller31-May-05 6:37 
GeneralRe: casting char to wchar? Pin
bobhou31-May-05 7:12
bobhou31-May-05 7:12 
GeneralA problem with creating a scrollbar Pin
jim000027-May-05 10:55
jim000027-May-05 10:55 
OK, my problem for some of you may seem silly but I'm a rookie at Windows API.
I've written a program - a simple database (it stores student's names and their marks). All of this information is contained in Edit controls. It all works fine but when I add more students to the list some of them aren't shown. So I have to make a vertical scrollbar. But I don't have any idea how to do it. I've found some description about SCROLLINFO structure but I don't know how to use it. I've added WM_VSCROLL to my window class, but it just shows up and do nothing. I would be very grateful if someone could help me.
I'm using Dev C++ if it matters.

And some info about this program - the number of students is indicated by a global variable int a. It is increased by a function void new_student(). Each control is 30 high + 10 of space. At the top of that list there are static controls which name the columns - they're the same size as Edits...

And sorry for my English Smile | :)


Edit: If you know some easier way to do the scrolling (by hitting some keys or something like that) please write it too Smile | :)
GeneralUsing SendInput() to send a letter Pin
pete^27-May-05 8:37
pete^27-May-05 8:37 
GeneralRe: Using SendInput() to send a letter Pin
ThatsAlok27-May-05 18:58
ThatsAlok27-May-05 18:58 
Generalstatus bar Pin
Anonymous27-May-05 7:27
Anonymous27-May-05 7:27 
GeneralRe: status bar Pin
David Crow27-May-05 8:11
David Crow27-May-05 8:11 
GeneralRe: status bar Pin
ucc80130-May-05 19:27
ucc80130-May-05 19:27 
GeneralRe: status bar Pin
David Crow31-May-05 3:58
David Crow31-May-05 3:58 
Generalopen up a file as read-only Pin
elephantstar27-May-05 7:19
elephantstar27-May-05 7:19 
GeneralRe: open up a file as read-only Pin
toxcct27-May-05 7:27
toxcct27-May-05 7:27 
GeneralRe: open up a file as read-only Pin
elephantstar27-May-05 8:30
elephantstar27-May-05 8:30 
GeneralRe: open up a file as read-only Pin
David Crow27-May-05 8:55
David Crow27-May-05 8:55 
GeneralRe: open up a file as read-only Pin
elephantstar27-May-05 9:50
elephantstar27-May-05 9:50 
GeneralRe: open up a file as read-only Pin
rocky_pulley27-May-05 16:38
rocky_pulley27-May-05 16:38 
GeneralRe: open up a file as read-only Pin
elephantstar31-May-05 10:09
elephantstar31-May-05 10:09 
GeneralRe: open up a file as read-only Pin
rocky_pulley27-May-05 7:59
rocky_pulley27-May-05 7:59 
GeneralCFile::modeRead Pin
bghuang28-May-05 2:40
bghuang28-May-05 2:40 
GeneralRe: CFile::modeRead Pin
elephantstar31-May-05 6:33
elephantstar31-May-05 6:33 
Generalmianframe pointer Pin
Anonymous27-May-05 6:44
Anonymous27-May-05 6:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.