How can OSD show text with c++
Posted: Wed May 22, 2013 7:40 am
This is my code of osd show. But I don't know how to do.
Any one who can help me!
Any one who can help me!
Code: Select all
TOSDSurface osd;
osd.dwSize = sizeof(osd);
osd.dwHeight = 50;
osd.dwWidth = 400;
osd.dwTop = 1;
osd.dwLeft = 1;
osd.Transparency = 1;
int hOSD = SendMessage(hwndDD, WM_MODULE_MSG, DDMODAPI_OSD_CREATE_SURFACE, (LPARAM)&osd);
HBITMAP bmSurface = (HBITMAP)SendMessage(hwndDD, WM_MODULE_MSG, DDMODAPI_OSD_GET_SURFACE_BITMAP, hOSD); // get bitmap
SendMessage(hwndDD, WM_MODULE_MSG, DDMODAPI_OSD_SHOW_SURFACE, hOSD);
🌟 Recommended Tools & Services
• Formify.one - Free Online Form Creator (Better than Google Forms). - Create Professional Forms That Match Your Business, Form Builder That Actually Helps You Collect More Responses
• CrispShare - Screenshot Editor That Makes Your Work Look Professional (Without Design Skills). - Make Your Screenshots Stand Out in Crowded Social Feeds
• DVB Dream - Best TV Reception/Record software for your computer DVB add on. - Stop Missing Your Favorite Shows - Record TV Directly to Your PC. Turn Your Computer Into a Professional TV Recorder. Unlock Its Full Potential With Professional TV Software
• CrispShare - Screenshot Editor That Makes Your Work Look Professional (Without Design Skills). - Make Your Screenshots Stand Out in Crowded Social Feeds
• DVB Dream - Best TV Reception/Record software for your computer DVB add on. - Stop Missing Your Favorite Shows - Record TV Directly to Your PC. Turn Your Computer Into a Professional TV Recorder. Unlock Its Full Potential With Professional TV Software