Hi,
I'm searching on the Internet how to draw glossy text (text effect like in window title bar in Vista) in window with DrawThemeText or DrawThemeTextEx but I don't understand! It's for C++: <link>. Can you help me?
Thanks!
Vista "glossy text" effect
-
- Posts: 166
- Joined: May 14, 2007 12:20
- Location: Zagreb, Croatia
Yeah, I can't stand the CodeProject, they do everything within their own little format.
Here is a short C tutorial from the original documentation.
http://msdn.microsoft.com/en-us/library/bb688195(VS.85).aspx
The WinAPI is a pain in the butt, ain't it.
Here is a short C tutorial from the original documentation.
http://msdn.microsoft.com/en-us/library/bb688195(VS.85).aspx
The WinAPI is a pain in the butt, ain't it.
-
- Posts: 166
- Joined: May 14, 2007 12:20
- Location: Zagreb, Croatia
I don't understand this part:
Can someone explain?
Code: Select all
if ((message == WM_NCCALCSIZE) && (wParam == TRUE))
{
// Calculate new NCCALCSIZE_PARAMS based on custom NCA inset.
NCCALCSIZE_PARAMS *pncsp = reinterpret_cast<NCCALCSIZE_PARAMS*>(lParam);
pncsp->rgrc[0].left = pncsp->rgrc[0].left + 0;
pncsp->rgrc[0].top = pncsp->rgrc[0].top + 0;
pncsp->rgrc[0].right = pncsp->rgrc[0].right - 0;
pncsp->rgrc[0].bottom = pncsp->rgrc[0].bottom - 0;
lRet = 0;
// No need to pass message on to the DefWindowProc.
fCallDWP = false;
}
Can someone explain?
Who is online
Users browsing this forum: Google [Bot] and 4 guests