Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
バックグラウンドで特別なプレースホルダー テキスト動作を追加するためにEDIT コモン コントロールをサブクラス化しています。
hそしてwこの図では:
h
w
EM_GETRECT編集コントロールの書式設定四角形を取得するために使用します。例えば:
EM_GETRECT
SendMessage(hedit, EM_GETRECT, 0, (LPARAM)&rect)