i can't seem to get window to write text when a button is clicked. i can write it normally in wm_paint but not in wm_conmand when i have created a but in wm_create. it compiles but never runs. can anybody show me a simple peice of source code which creates some kind of window, with a button which when i click it write text to the screen.
thanks in advance