Click here to Skip to main content
15,922,696 members
Home / Discussions / C#
   

C#

 
GeneralRe: Objects to bytes... Pin
Niklas Ulvinge17-Sep-05 6:32
Niklas Ulvinge17-Sep-05 6:32 
GeneralRe: Objects to bytes... Pin
turbochimp17-Sep-05 6:42
turbochimp17-Sep-05 6:42 
GeneralRe: Objects to bytes... Pin
Niklas Ulvinge17-Sep-05 7:00
Niklas Ulvinge17-Sep-05 7:00 
GeneralRe: Objects to bytes... Pin
turbochimp17-Sep-05 6:23
turbochimp17-Sep-05 6:23 
QuestionHow to call ITAddressTranslation method Pin
Fredy16-Sep-05 1:08
Fredy16-Sep-05 1:08 
QuestionC# and voice chat Pin
pakFari16-Sep-05 1:07
pakFari16-Sep-05 1:07 
QuestionDateTime search with Data Tables "Select" Method Pin
16-Sep-05 0:50
suss16-Sep-05 0:50 
Questionimage on toolbarbutton Pin
g00fyman16-Sep-05 0:46
g00fyman16-Sep-05 0:46 
hey all,

am getting image using SHGetFileInfo for form Image, but when i put it onto a toolbarbutton i get black where it should be transparent.
i tried to convert to bitmap before putting icon into the imagelist but still no good.

any ideas pls?

<br />
private void CreateNewMDIChild(string path)<br />
    {<br />
      // create and show form<br />
      EditorPane pane = new EditorPane(path);<br />
      pane.MdiParent = this;<br />
      pane.Show();<br />
<br />
      this.documentImageList.Images.Add(pane.Icon);<br />
<br />
      // create and update button for the new editor window<br />
      ToolBarButton button = new ToolBarButton(pane.FileName);<br />
      button.ToolTipText = pane.Path;     <br />
      button.ImageIndex = MdiChildren.Length - 1;<br />
      this.mdiChildrenToolbar.Buttons.Add(button);<br />
<br />
      UpdateButtonPushState(button);<br />
    }<br />


kind regards,
g00fy
AnswerRe: image on toolbarbutton Pin
Subrahmanyam K16-Sep-05 1:01
Subrahmanyam K16-Sep-05 1:01 
GeneralRe: image on toolbarbutton Pin
g00fyman16-Sep-05 1:07
g00fyman16-Sep-05 1:07 
AnswerRe: image on toolbarbutton Pin
mav.northwind16-Sep-05 5:05
mav.northwind16-Sep-05 5:05 
QuestionThread and timer problem Pin
NicklasRing15-Sep-05 23:41
NicklasRing15-Sep-05 23:41 
AnswerRe: Thread and timer problem Pin
mav.northwind16-Sep-05 21:50
mav.northwind16-Sep-05 21:50 
QuestionCLR Pin
Anonymous15-Sep-05 23:37
Anonymous15-Sep-05 23:37 
AnswerRe: CLR Pin
Guffa15-Sep-05 23:57
Guffa15-Sep-05 23:57 
QuestionJoin video on-the-fly Pin
karnalta15-Sep-05 23:36
karnalta15-Sep-05 23:36 
QuestionHow to use &lt; sign in comments? Pin
Dr Reedo15-Sep-05 23:09
Dr Reedo15-Sep-05 23:09 
AnswerRe: How to use < sign in comments? Pin
g00fyman15-Sep-05 23:17
g00fyman15-Sep-05 23:17 
GeneralRe: How to use &lt; sign in comments? Pin
Dr Reedo16-Sep-05 1:16
Dr Reedo16-Sep-05 1:16 
GeneralRe: How to use &lt; sign in comments? Pin
g00fyman16-Sep-05 1:17
g00fyman16-Sep-05 1:17 
QuestionProblems with Array being readonly (HELP) Pin
Yannielsen15-Sep-05 22:28
Yannielsen15-Sep-05 22:28 
GeneralRe: Problems with Array being readonly (HELP) Pin
Guffa16-Sep-05 0:31
Guffa16-Sep-05 0:31 
GeneralRe: Problems with Array being readonly (HELP) Pin
Yannielsen16-Sep-05 0:56
Yannielsen16-Sep-05 0:56 
GeneralRe: Problems with Array being readonly (HELP) Pin
Guffa16-Sep-05 1:59
Guffa16-Sep-05 1:59 
GeneralRe: Problems with Array being readonly (HELP) Pin
Yannielsen16-Sep-05 2:12
Yannielsen16-Sep-05 2:12 

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.