Search found 7 matches

by hazard
Tue Apr 24, 2012 5:11 pm
Forum: Coding Questions
Topic: Change colour of text in treeview sub node
Replies: 9
Views: 1685

Re: Change colour of text in treeview sub node

He wants multiple colors on the same line! :wink:
by hazard
Mon Apr 23, 2012 6:40 pm
Forum: Coding Questions
Topic: Change colour of text in treeview sub node
Replies: 9
Views: 1685

Re: Change colour of text in treeview sub node

You need to use custom draw (or owner draw) techniques on Windows. A search through the forums should provide some examples.
by hazard
Sat Apr 21, 2012 8:24 am
Forum: General Discussion
Topic: Atomic Web Server not working?
Replies: 3
Views: 995

Re: Atomic Web Server not working?

Could your firewall be blocking it?
by hazard
Mon Apr 16, 2012 3:10 pm
Forum: General Discussion
Topic: Wrong result of IntQ()
Replies: 13
Views: 1899

Re: Wrong result of IntQ()

Double values do not round well at that size of integer.

Code: Select all

a.d = 922337203685477580.7      
Debug a  ;922337203685477630.0
by hazard
Mon Apr 16, 2012 1:47 pm
Forum: Coding Questions
Topic: Proper ListIconGadget locking to prevent greying out?
Replies: 8
Views: 1230

Re: Proper ListIconGadget locking to prevent greying out?

Set the threadsafe compiler switch and the compiler will automatically generate code in which each thread uses it's own string buffer.
by hazard
Mon Apr 16, 2012 10:30 am
Forum: Coding Questions
Topic: Proper ListIconGadget locking to prevent greying out?
Replies: 8
Views: 1230

Re: Proper ListIconGadget locking to prevent greying out?

I am not really sure how subclassing to prevent redrawing will cure the 'non-responsiveness' because, even if you disable all painting, your program is still going to have to wait whilst the list is populated.

You could populate the list within some timer or other or...

If OpenWindow(0, 100, 100 ...
by hazard
Mon Apr 16, 2012 8:59 am
Forum: Coding Questions
Topic: Proper ListIconGadget locking to prevent greying out?
Replies: 8
Views: 1230

Re: Proper ListIconGadget locking to prevent greying out?

Why not simply hide the gadget until you are done populating it?