Click here to Skip to main content
14,602,799 members

C / C++ / MFC

 
GeneralRe: How to handle too many checkbox's click message ? Pin
stephen_young7-Jan-10 3:13
Memberstephen_young7-Jan-10 3:13 
GeneralRe: How to handle too many checkbox's click message ? Pin
Nelek7-Jan-10 3:26
protectorNelek7-Jan-10 3:26 
GeneralRe: How to handle too many checkbox's click message ? Pin
stephen_young7-Jan-10 4:23
Memberstephen_young7-Jan-10 4:23 
GeneralRe: How to handle too many checkbox's click message ? Pin
Nelek7-Jan-10 4:34
protectorNelek7-Jan-10 4:34 
QuestionToolTipMessage Pin
S p k 5216-Jan-10 23:40
MemberS p k 5216-Jan-10 23:40 
AnswerRe: ToolTipMessage Pin
KingsGambit7-Jan-10 0:35
MemberKingsGambit7-Jan-10 0:35 
AnswerRe: ToolTipMessage Pin
Rajesh R Subramanian7-Jan-10 0:56
professionalRajesh R Subramanian7-Jan-10 0:56 
QuestionHow to load custom images on RibbonX? Pin
eight6-Jan-10 22:19
Membereight6-Jan-10 22:19 
I'm trying to use my own image (.png) as a ribbon button.
I've managed to place a windows icon on my custom button using this code

<code>
STDMETHODIMP CConnect::GetCustomUI(BSTR RibbonID, BSTR * RibbonXml)
{
if (!RibbonXml)
   return E_POINTER;
*RibbonXml = SysAllocString(
   L"<customUI xmlns=\"http://schemas.microsoft.com/office/2006/01/customui\"\>"
   L"<ribbon>"
   L"<officeMenu>"
   L"<menu idMso=\"FileSendMenu\">"
   L"<button id=\"OfficeButton1\" imageMso=\"HappyFace\" label=\"Happy Print\" description=\"Prints a random joke in the footer of each document\" onAction=\"ButtonClicked\"/>"
   L"</menu>"
   L"</officeMenu>"
   L"</ribbon>"
   L"</customUI>"
   );
   return (*RibbonXml ? S_OK : E_OUTOFMEMORY);
}
</code>

From what I've googled, I'm supposed to create GetImage or LoadImage callbacks. How to do this?
QuestionHow many files can be created by methord "GetTempFileName()" Pin
lxkjlzz6-Jan-10 21:32
Memberlxkjlzz6-Jan-10 21:32 
AnswerRe: How many files can be created by methord "GetTempFileName()" Pin
Richard MacCutchan6-Jan-10 22:05
mveRichard MacCutchan6-Jan-10 22:05 
AnswerRe: How many files can be created by methord "GetTempFileName()" Pin
David Crow7-Jan-10 2:51
MemberDavid Crow7-Jan-10 2:51 
AnswerRe: How many files can be created by methord "GetTempFileName()" Pin
Rozis8-Jan-10 11:59
MemberRozis8-Jan-10 11:59 
Questionhow to convert string to resource ID Pin
ronovice6-Jan-10 20:44
Memberronovice6-Jan-10 20:44 
QuestionRe: how to convert string to resource ID Pin
CPallini6-Jan-10 21:20
mveCPallini6-Jan-10 21:20 
GeneralRe: how to convert string to resource ID [modified] Pin
ronovice6-Jan-10 21:22
Memberronovice6-Jan-10 21:22 
GeneralRe: how to convert string to resource ID Pin
KingsGambit6-Jan-10 21:25
MemberKingsGambit6-Jan-10 21:25 
GeneralRe: how to convert string to resource ID Pin
ronovice6-Jan-10 21:29
Memberronovice6-Jan-10 21:29 
GeneralRe: how to convert string to resource ID Pin
lxkjlzz6-Jan-10 21:49
Memberlxkjlzz6-Jan-10 21:49 
GeneralRe: how to convert string to resource ID Pin
CPallini6-Jan-10 22:08
mveCPallini6-Jan-10 22:08 
GeneralRe: how to convert string to resource ID Pin
ronovice6-Jan-10 22:15
Memberronovice6-Jan-10 22:15 
GeneralRe: how to convert string to resource ID Pin
KingsGambit6-Jan-10 22:43
MemberKingsGambit6-Jan-10 22:43 
GeneralRe: how to convert string to resource ID Pin
Richard MacCutchan7-Jan-10 0:15
mveRichard MacCutchan7-Jan-10 0:15 
GeneralRe: how to convert string to resource ID Pin
ronovice7-Jan-10 1:20
Memberronovice7-Jan-10 1:20 
GeneralRe: how to convert string to resource ID Pin
Richard MacCutchan7-Jan-10 1:31
mveRichard MacCutchan7-Jan-10 1:31 
QuestionRe: how to convert string to resource ID Pin
ronovice7-Jan-10 1:37
Memberronovice7-Jan-10 1:37 

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.