Click here to Skip to main content
15,922,015 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: ReadFile() Problem Pin
Cedric Moonen31-Jan-11 21:05
Cedric Moonen31-Jan-11 21:05 
QuestionHDD access chaotic speed problem. Pin
progDes31-Jan-11 2:06
progDes31-Jan-11 2:06 
AnswerRe: HDD access chaotic speed problem. Pin
User 742933831-Jan-11 2:35
professionalUser 742933831-Jan-11 2:35 
GeneralRe: HDD access chaotic speed problem. Pin
progDes31-Jan-11 2:49
progDes31-Jan-11 2:49 
AnswerRe: HDD access chaotic speed problem. Pin
User 742933831-Jan-11 2:59
professionalUser 742933831-Jan-11 2:59 
GeneralRe: HDD access chaotic speed problem. Pin
progDes31-Jan-11 3:36
progDes31-Jan-11 3:36 
GeneralRe: HDD access chaotic speed problem. Pin
User 742933831-Jan-11 3:39
professionalUser 742933831-Jan-11 3:39 
GeneralRe: HDD access chaotic speed problem. Pin
progDes31-Jan-11 2:51
progDes31-Jan-11 2:51 
QuestionRe: HDD access chaotic speed problem. Pin
David Crow31-Jan-11 2:54
David Crow31-Jan-11 2:54 
AnswerRe: HDD access chaotic speed problem. Pin
Andrew Brock31-Jan-11 3:04
Andrew Brock31-Jan-11 3:04 
GeneralRe: HDD access chaotic speed problem. Pin
progDes31-Jan-11 3:39
progDes31-Jan-11 3:39 
AnswerRe: HDD access chaotic speed problem. Pin
Niklas L31-Jan-11 21:09
Niklas L31-Jan-11 21:09 
GeneralRe: HDD access chaotic speed problem. Pin
progDes31-Jan-11 21:28
progDes31-Jan-11 21:28 
Questionwant to know meaning of line obj = ( struct xyz * ) ( buffer + offset ); Pin
VCProgrammer31-Jan-11 0:26
VCProgrammer31-Jan-11 0:26 
AnswerRe: want to know meaning of line obj = ( struct xyz * ) ( buffer + offset ); Pin
User 742933831-Jan-11 0:38
professionalUser 742933831-Jan-11 0:38 
GeneralRe: want to know meaning of line obj = ( struct xyz * ) ( buffer + offset ); Pin
Niklas L31-Jan-11 1:08
Niklas L31-Jan-11 1:08 
GeneralRe: want to know meaning of line obj = ( struct xyz * ) ( buffer + offset ); Pin
Graham Shanks31-Jan-11 2:24
Graham Shanks31-Jan-11 2:24 
AnswerRe: want to know meaning of line obj = ( struct xyz * ) ( buffer + offset ); Pin
Graham Shanks31-Jan-11 2:40
Graham Shanks31-Jan-11 2:40 
QuestionTransparent Color Pin
john563231-Jan-11 0:06
john563231-Jan-11 0:06 
AnswerRe: Transparent Color Pin
Niklas L31-Jan-11 1:17
Niklas L31-Jan-11 1:17 
GeneralRe: Transparent Color Pin
john563231-Jan-11 2:08
john563231-Jan-11 2:08 
AnswerRe: Transparent Color Pin
Cool_Dev31-Jan-11 2:11
Cool_Dev31-Jan-11 2:11 
GeneralRe: Transparent Color Pin
john563231-Jan-11 4:53
john563231-Jan-11 4:53 
QuestionHow to create multiple opengl view In same window? Pin
GAJERA30-Jan-11 23:03
GAJERA30-Jan-11 23:03 
QuestionExtra large (256x256) icon shortcut to the control panel applet (CPL) ? Pin
Maxwell Chen30-Jan-11 21:43
Maxwell Chen30-Jan-11 21:43 
We have the extra large icon view (256 x 256) since Windows Vista.

Now I have a control panel applet running under Win7 and Vista. I have added the icon resources with images of size 256 x 256 into the CPL. But the shortcut (on the Desktop) to this CPL applet does not display the icon correctly.

It is said that assigning the value CPL_DYNAMIC_RES for the idIcon member of CPLINFO structure in the CPL_INQUIRE message handler triggers Windows to send a CPL_NEWINQUIRE message. And then we assign the hIcon member of NEWCPLINFO in the CPL_NEWINQUIRE message handler for the icon information.

But no matter AfxGetApp()->LoadIcon or ::LoadImage (even with the LR_DEFAULTSIZE flag) fails to make the icon image of the shortcut on the Desktop display the correct sized image.

Does anyone know the correct way to handle the CPL_INQUIRE and CPL_NEWINQUIRE to make it display 256 x 256 image for the shortcut on the Desktop?

Thanks in advance.
  Maxwell Chen

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.