Re: In CCommandBarCtrlImpl class, I find a bug, can anybody give a better solution?
"xierenhui" <xie_renhui-9Onoh4P/[email protected]>
| Newsgroups | gmane.comp.windows.wtl |
|---|---|
| Message-ID | <[email protected]> |
The correct link is : http://groups.yahoo.com/group/wtl/files/Temp/atlctrlw.h --- In [email protected], "xierenhui" <xie_renhui@...> wrote: > > Hi, every body. I have fixed this ugly bug. ----- The time is toooooo lang. > > See this link: > > http://f1.grp.yahoofs.com/v1/sCXCSU0BYmqB5RzXJk4UWTXPu2Hu-EY6wcbKKylci6drRS-AIdHTK79eXfJsJbCURXmo85sJAif7E0BcHwzCg4Xrl4z6zQ/Temp/atlctrlw.h > > > --- In [email protected], "xierenhui" <xie_renhui@> wrote: > > > > In file " atlctrlw.h ", the line 1483 and 1499, the orgion code is: > > > > if(lpMeasureItemStruct->CtlType == ODT_MENU && pmd != NULL && > > pmd->IsCmdBarMenuItem()) > > > > I changed it to: > > > > if(lpMeasureItemStruct->CtlType == ODT_MENU && pmd != NULL && > > ((DWORD)pmd)>10 && pmd->IsCmdBarMenuItem()) > > > > it's looks very stupid, can anybody provide a better solution? > > > > thanks. > > > ------------------------------------ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/wtl/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/wtl/join (Yahoo! ID required) <*> To change settings via email: mailto:[email protected] mailto:[email protected] <*> To unsubscribe from this group, send an email to: [email protected] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/