Hi!
Iv'e just bought both PB/DLL and PowerGEN. I've just made a small test program/GUI skeleton with powergen, and everything works great.
My problem is that for example when I try to insert text into a Edit box, Combobox or any other kind of GUI box, it does not apear in the gui.
What do I do wrong? Is there some kind of "refresh" command I got to use to get it to work?
Here is the code I use from the generated inc file from powergen:
FUNCTION MainWnd_buttTrykk_BnClicked(BYVAL hDlg AS DWORD, BYVAL wParam AS DWORD, BYVAL lParam AS DWORD) AS LONG
text$ = "Test!"
EmSetText hEdit&, text$
END FUNCTION
It's probably some simple thing I've forgot to do, but I can't find anything in the docs.
----
I also got one more question. The docs that followed PowerGEN tell me to take a look at microsoft homepage, to get more information about programming GUI. I've looked abit there, but I have allways thought the microsoft pages are one big mess of information web that one can not find anything you look for.
Does anyone here got any good tips for me where to get some good documentation for this? I would be very happy to get some help here.
Have a nice day!
Iv'e just bought both PB/DLL and PowerGEN. I've just made a small test program/GUI skeleton with powergen, and everything works great.
My problem is that for example when I try to insert text into a Edit box, Combobox or any other kind of GUI box, it does not apear in the gui.
What do I do wrong? Is there some kind of "refresh" command I got to use to get it to work?
Here is the code I use from the generated inc file from powergen:
FUNCTION MainWnd_buttTrykk_BnClicked(BYVAL hDlg AS DWORD, BYVAL wParam AS DWORD, BYVAL lParam AS DWORD) AS LONG
text$ = "Test!"
EmSetText hEdit&, text$
END FUNCTION
It's probably some simple thing I've forgot to do, but I can't find anything in the docs.
----
I also got one more question. The docs that followed PowerGEN tell me to take a look at microsoft homepage, to get more information about programming GUI. I've looked abit there, but I have allways thought the microsoft pages are one big mess of information web that one can not find anything you look for.
Does anyone here got any good tips for me where to get some good documentation for this? I would be very happy to get some help here.

Have a nice day!
Comment