[Plib-users] pui help
Brought to you by:
sjbaker
From: Brian S. <sch...@ho...> - 2004-04-21 19:19:12
|
I'm having a little trouble with the puComboBox, puSelectBox, and puButtonBox, I'm pretty positive it has to be with the array of strings I am sending it. here is how I construct the array: char *arrayOfStrings() = {"How", "Are", "You",NULL}; then declaring each of these puObjects I use arrayOfStrings as the parameter for the list. Is this how the array of Strings is supposed to be constructed? For puSelectBox I the list is showing correctly however when I click on a selection it won't register (I do have puMouse in my mouse func) and if I hit page down the list will pop up, but if I hit down I get an access violation. For puSelectBox, it shows the first element fine, but if I click on the arrow I get the same access violation error. Finally for puButtonBox the program will crash once it tries to display it with an access violation. It has to be the way I'm constructing my array, please let me know how your really supposed to do it. Thanks in advance -Brain _________________________________________________________________ Lose those love handles! MSN Fitness shows you two moves to slim your waist. http://fitness.msn.com/articles/feeds/article.aspx?dept=exercise&article=et_pv_030104_lovehandles |