开发者

Saving custom application notifications, error strings

开发者 https://www.devze.com 2023-01-28 12:16 出处:网络
what is the best way to s开发者_如何学编程ave notify, error, warning string for GUI application? Currently I just create const char* strings everytime the application needs to process and popup a noti

what is the best way to s开发者_如何学编程ave notify, error, warning string for GUI application? Currently I just create const char* strings everytime the application needs to process and popup a notification string. how should i handle messages without regenerating memory for temporary strings?


Since You tagged win32api I think You are using windows :D...

So one solution would be to save your strings as resources.

They are easy to maintain and can be changed/updated easily...

Hope this helps:)...

0

精彩评论

暂无评论...
验证码 换一张
取 消