capture step an charcterised component cursor being shown windows


i wish constraint bitmap component cursor windows oses accurately possible.
the presumption api trust getcursorinfo, drawiconex.



the rudimentary method actions is:




  • get cursor controlling getcursorinfo

  • paint cursor memory dc controlling drawiconex.



here formula looks roughly.



cursorinfo  cursorinfo;

(void)memset(&cursorinfo, 0, sizeof(cursorinfo));
cursorinfo.cbsize = sizeof(cursorinfo);

if (getcursorinfo(&cursorinfo) &&
cursorinfo.hcursor)
{
// ... emanate here memory dc, memory bitmap

boerror |= !drawiconex(hcursordc, // device context
0, // xleft
0, // ytop
cursorinfo.hcursor, // cursor handle
0, // width, component default
0, // height, component default
0, // step charcterised cursor !!!!!!!!!
null, // nictitate giveaway brush, don't now
di_mask | di_defaultsize); // flags

// ... whatever wish cursor the memory dc
}


now, anyone knows i step charcterised cursor being drawn (i need value following upheld istepifanicur parameter drawiconex...)? now above formula apparently always renders wholly initial step an charcterised cursor.



i think simply done, nonetheless it's value seeking anyway.



Comments

Popular posts from this blog

list macos calm editors formula editors

how hibernate @any-related annotations?

why does floated <input> control floated component slip over too distant right ie7, nonetheless firefox?