Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
get text color of dialog item => id(# hDlg)
Sorry, I know this question has been covered somehwere in the forum, but I just can't find it anymore.

I want to get the color of an item in in a smart-dialog.

For example, I have a static text object with ID: 4
How do i get the the textcolor?

I tried: GetTextColor, but I couldn't get it to work

I'm looking for something like this:
Select All      Help
int x=GetTextColor id(4 hDlg)

x, contains color.
QM does no have a function for it. If you set color with DT_SetTextColor and later need the color, save the color in a thread variable.
Ok! Thank you for that tip!!!

Forum Jump:

Users browsing this thread: 1 Guest(s)