Quantcast
Channel: Visual C forum
Viewing all articles
Browse latest Browse all 15302

Changing the text in a CONTROL control

$
0
0

Hi,

I am using VS 2013, an MFC app.

CONTROL         "Point ID",IDC_EPTS,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,131,292,63,10

I want to change the text when the dialog is created. I want to replace "Point ID" with a Wide character. If I wanted "Point ID" to be a wide character I can prefix the string with 'L'. SetDlgItemText does not work for wide characters, nor does SetDlgItemTextW.

Any help gratefully appreciated

 


Viewing all articles
Browse latest Browse all 15302

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>