sanjuro
March 9th, 2008, 12:05 PM
Hi i need help! I am programming pocket pc win CE simple application in pure C(not in C++) in free development software Pelles C! Pelles C contains resource editor! I created dialog that contains many controls so I need to scroll its content! My dialog was created in resource editor with WS_VSCROLL! I programmed the motion of scrollbar and I used ScrollWindowEx function to scroll content, but when I run the programm this function doesnt work, the content doesnt move! Do you know where can be the problem? I tried to avoid this function by writing my own function which acquire coordinates from resource using GetWindowRect function, but I failed too, because, it returns value 67 instead of 44 for Rect.left! I dont understand how to count it to right value! The last problem is textarea(textfield-memo), i dont see in resource editor this control, can you advice me how to create this control in code? I am studying now PDA application development but i am freezed now! Thank you gratefully for your help!