Thanks RhinoBull. actually i was redirected to this page few hours a go when i search google and put there sendMessage code. at that time it did not make an effect except a thik border was added to the upper part of the header area. so i removed that code. let me try it again.
Anyway, "state" is a long integer that is used in that sample to get current state of checkbox because it's a demonstration of how to toggle the Gridlines by checking/unchecking the Checkbox...
You don't need that - replace the state with 1 and you'll be allright.
Anyway, "state" is a long integer that is used in that sample to get current state of checkbox because it's a demonstration of how to toggle the Gridlines by checking/unchecking the Checkbox...
You don't need that - replace the state with 1 and you'll be allright.
Righno, the funny think is, if i replaced it with 1, it does not work. this is what happend to me on my first try. ok. i ll post the project with set to 1. have a try . let me upload.