HSPポータル
サイトマップ お問い合わせ


HSPTV!掲示板


未解決 解決 停止 削除要請

2021
0812
WSLinputボックスに透かし文字を追加したい2解決


WSL

リンク

2021/8/12(Thu) 13:47:17|NO.93548

inputボックス内に文字が入っていなければ、"ユーザーID"と実際に文字が入っている
わけではなく、透かし?のようにし、文字が入ったらその透かしを消すみたいなこと
はできますでしょうか? 語彙力なくてすみません... WindowsとかMicrosoftアカウント
のログインとかにある、ユーザー名、パスワードのようにしたいだけです。
以下画像です。
data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBxAQEhUQEBIWFRUVFRAPFRUVFRUWFRUQFRUWFhUVFRUYHSggGBolHRUVITEhJSkrLi4uFx8zODMtNygtLisBCgoKDg0OGBAQGi0dHSUtLS0tLS0tLSstKy0tLS4tLS0tLS0tLS0tLS0rLS0tLi0tLS0tLS0tLS0tLS0tLy0tLf/AABEIAMIBAwMBIgACEQEDEQH/xAAbAAACAwEBAQAAAAAAAAAAAAACAwABBAUGB//EAEcQAAIBAgMCCAoGCgIBBQAAAAECAAMRBBIhMUEFEyJRUmFxkQYWMlOBkqGx0dIUQnKiwfAVIzNiY3OTo7LhQ/GCB4OzwuL/xAAbAQACAwEBAQAAAAAAAAAAAAABAgADBgUEB//EAEARAAEDAQQFBwsCBQUBAAAAAAEAAhEDBBIhMQUTQVFSFBUiYZGS0QYyYnGBk6HB0+LwI6IzcrHC8UJTgrLhQ//aAAwDAQACEQMRAD8A86JBBEMTZrJIhCEC0ISIKxLEsCWBIlVAQ8x369sgEu0CkqwObulgSAQiIEEIEu0K0IDdAhKC0ICFaWBApKoCWBCCywJFJQ2lgRgEgECkqgIxRulAQwIqkocsrLHqt5CsiCRll5b9vvjcsrLAVEnLJaPK3/PtlZZAZRlJyyZY7JLyQoSs+WVlmjLKKSILPlkyx+SVkkUlKtKjsskikriADrHtlhOYj3e+Vcc0Idk9EK1WKZ5peQ80oDqhqe3vghBQCEBCDdZhhj+QJEEtRCAhg/m0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iEISSQFBHCEkkBURCGskkVRNEsS5IhURCMEkkQohNEMS5JWVYrEISSRDkoiWGJckCiNYUkkUpmqCWJckrqIJgkkknndmnRrGLJJKSnCakeskkTYrwilySS4Ir//2Q==
調べてみたのですが、調べ方がわからなかったので質問させていただきました。



この記事に返信する


沢渡

リンク

2021/8/12(Thu) 14:07:18|NO.93549

このような形でしょうか。
参考にしたページを読む限り、mesboxで作る複数行の入力ボックスには使えないようですが。
参考:https://docs.microsoft.com/ja-jp/windows/win32/controls/em-setcuebanner
https://hnx8.hatenablog.com/entry/20160131/1454254349

a="" input a,200,30 : h=objinfo(stat,2) //hは入力ボックスのハンドル s="入力してください" sdim s16,strlen(s)*2+2 : cnvstow s16,s //UTF-16に変換 sendmsg h,0x1501,1,varptr(s16) //EM_SETCUEBANNER=0x1501



WSL

リンク

2021/8/12(Thu) 14:11:15|NO.93550

そんな感じです!
ありがとうございました



ONION software Copyright 1997-2023(c) All rights reserved.