Click here to Skip to main content
15,887,585 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CDC::GetDeviceCaps, how to know if AlphaBlend is supported or not? Pin
Code-o-mat12-Oct-11 0:43
Code-o-mat12-Oct-11 0:43 
GeneralRe: CDC::GetDeviceCaps, how to know if AlphaBlend is supported or not? Pin
arnoudmulder12-Nov-18 7:07
arnoudmulder12-Nov-18 7:07 
GeneralRe: CDC::GetDeviceCaps, how to know if AlphaBlend is supported or not? Pin
Randor 22-Nov-18 19:23
professional Randor 22-Nov-18 19:23 
GeneralGetting ProcessID from CoCreateInstance Pin
Rajesh_Parameswaran10-Oct-11 6:13
Rajesh_Parameswaran10-Oct-11 6:13 
GeneralRe: not possible Pin
App_10-Oct-11 7:06
App_10-Oct-11 7:06 
GeneralRe: not possible Pin
TheGreatAndPowerfulOz10-Oct-11 7:52
TheGreatAndPowerfulOz10-Oct-11 7:52 
AnswerRe: Getting ProcessID from CoCreateInstance Pin
TheGreatAndPowerfulOz10-Oct-11 7:50
TheGreatAndPowerfulOz10-Oct-11 7:50 
QuestionVisual C++ label font changes after unlock Pin
chandu_vrs10-Oct-11 2:55
chandu_vrs10-Oct-11 2:55 
Hi,

We have a peculiar problem, our application label font changes to bold after we lock and unlock the workstation. This started happening after we changed to Visual Studio 2010. Does anyone have solution to this? I used SPY++ on a label to see what kind of messages that are sent but I don't see anything related to the fonts, below is the SPY++ log:

<00001> 00080608 S WM_NCPAINT hrgn:00000001
<00002> 00080608 R WM_NCPAINT
<00003> 00080608 S WM_ERASEBKGND hdc:2F010CAB
<00004> 00080608 R WM_ERASEBKGND fErased:True
<00005> 00080608 P WM_PAINT hdc:00000000
<00006> 00080608 S WM_NCPAINT hrgn:00000001
<00007> 00080608 R WM_NCPAINT
<00008> 00080608 S WM_ERASEBKGND hdc:5D010EE2
<00009> 00080608 R WM_ERASEBKGND fErased:True
<00010> 00080608 S WM_GETTEXTLENGTH
<00011> 00080608 R WM_GETTEXTLENGTH cch:3
<00012> 00080608 S WM_GETTEXTLENGTH
<00013> 00080608 R WM_GETTEXTLENGTH cch:3
<00014> 00080608 S WM_GETTEXT cchTextMax:8 lpszText:0012D9D0
<00015> 00080608 R WM_GETTEXT cchCopied:3 lpszText:0012E41C ("SKU")

Thank you so much for any help on this...
AnswerRe: Visual C++ label font changes after unlock Pin
Code-o-mat10-Oct-11 8:29
Code-o-mat10-Oct-11 8:29 
QuestionIs correct lpszString = lpszStringInit ? Pin
_Flaviu9-Oct-11 22:31
_Flaviu9-Oct-11 22:31 
AnswerRe: Is correct lpszString = lpszStringInit ? Pin
john56329-Oct-11 23:37
john56329-Oct-11 23:37 
GeneralRe: Is correct lpszString = lpszStringInit ? Pin
_Flaviu9-Oct-11 23:44
_Flaviu9-Oct-11 23:44 
GeneralRe: Is correct lpszString = lpszStringInit ? Pin
_Flaviu9-Oct-11 23:47
_Flaviu9-Oct-11 23:47 
AnswerRe: Is correct lpszString = lpszStringInit ? Pin
Chandrasekharan P10-Oct-11 0:12
Chandrasekharan P10-Oct-11 0:12 
GeneralRe: Is correct lpszString = lpszStringInit ? Pin
_Flaviu10-Oct-11 0:17
_Flaviu10-Oct-11 0:17 
AnswerRe: Is correct lpszString = lpszStringInit ? Pin
_AnsHUMAN_ 10-Oct-11 1:36
_AnsHUMAN_ 10-Oct-11 1:36 
GeneralRe: may i also add Pin
App_10-Oct-11 7:12
App_10-Oct-11 7:12 
GeneralRe: may i also add Pin
_Flaviu10-Oct-11 20:43
_Flaviu10-Oct-11 20:43 
AnswerRe: Is correct lpszString = lpszStringInit ? Pin
Stefan_Lang10-Oct-11 1:42
Stefan_Lang10-Oct-11 1:42 
GeneralRe: Is correct lpszString = lpszStringInit ? Pin
_Flaviu10-Oct-11 2:30
_Flaviu10-Oct-11 2:30 
GeneralRe: Is correct lpszString = lpszStringInit ? Pin
Stefan_Lang10-Oct-11 2:33
Stefan_Lang10-Oct-11 2:33 
QuestionButton Creation, Handling the Click event Pin
jkirkerx9-Oct-11 9:29
professionaljkirkerx9-Oct-11 9:29 
AnswerRe: Button Creation, Handling the Click event Pin
Niklas L9-Oct-11 9:43
Niklas L9-Oct-11 9:43 
GeneralRe: Button Creation, Handling the Click event Pin
jkirkerx9-Oct-11 10:30
professionaljkirkerx9-Oct-11 10:30 
GeneralRe: Button Creation, Handling the Click event Pin
jkirkerx9-Oct-11 13:19
professionaljkirkerx9-Oct-11 13:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.