Click here to Skip to main content
16,005,339 members
Home / Discussions / C#
   

C#

 
QuestionRe: object from treeview help needed Pin
BDJones3-Dec-09 10:24
BDJones3-Dec-09 10:24 
AnswerRe: object from treeview help needed Pin
Luc Pattyn3-Dec-09 10:33
sitebuilderLuc Pattyn3-Dec-09 10:33 
QuestionRe: object from treeview help needed Pin
BDJones3-Dec-09 10:48
BDJones3-Dec-09 10:48 
AnswerRe: object from treeview help needed Pin
Luc Pattyn3-Dec-09 11:20
sitebuilderLuc Pattyn3-Dec-09 11:20 
GeneralRe: object from treeview help needed Pin
BDJones3-Dec-09 11:40
BDJones3-Dec-09 11:40 
GeneralRe: object from treeview help needed Pin
Luc Pattyn3-Dec-09 11:43
sitebuilderLuc Pattyn3-Dec-09 11:43 
AnswerRe: object from treeview help needed Pin
puri keemti3-Dec-09 22:31
puri keemti3-Dec-09 22:31 
QuestionNon-Client Paint Issue Pin
notsotragichero3-Dec-09 9:12
notsotragichero3-Dec-09 9:12 
In short, I need to be able to do this:
http://i6.photobucket.com/albums/y210/notsotragichero/Chrome.png[^]

I need to be able to add a small image in exactly the same spot Google has done here in Vista / 7.

I have tried numerous solutions over the past week, but can not get this to be fully functional. Even once the image is painted, the NC area will not refresh, unless it is clicked off of, even when using RedrawWindow(). It shows the painted image, and an un-rendered border / titlebar.

[DllImport("user32.dll")]<br />
        static extern bool SetWindowPos(IntPtr hWnd, IntPtr hWndInsertAfter, int X, int Y, int cx, int cy, uint uFlags);<br />
<br />
        private void OnTimer1Tick(object sender, EventArgs e)<br />
        {<br />
            RedrawWindow(this.Handle, IntPtr.Zero, IntPtr.Zero, 0x0400/*RDW_FRAME*/ | 0x0100/*RDW_UPDATENOW*/ | 0x0001/*RDW_INVALIDATE*/);<br />
        }


*The tick is just for current testing purposes*

Is there something, hopefully simple, that I am missing?

Thanks,
Brandon
AnswerRe: Non-Client Paint Issue Pin
Natza Mitzi6-Dec-09 10:22
Natza Mitzi6-Dec-09 10:22 
QuestionWinforms HTML editor control? Pin
thechillhacker3-Dec-09 8:12
thechillhacker3-Dec-09 8:12 
AnswerRe: Winforms HTML editor control? Pin
Richard Blythe3-Dec-09 14:23
Richard Blythe3-Dec-09 14:23 
GeneralRe: Winforms HTML editor control? Pin
thechillhacker4-Dec-09 5:15
thechillhacker4-Dec-09 5:15 
GeneralRe: Winforms HTML editor control? Pin
Richard Blythe4-Dec-09 17:44
Richard Blythe4-Dec-09 17:44 
QuestionMaking one copy of complex type from 2 webservices. Pin
mittalpa3-Dec-09 6:46
mittalpa3-Dec-09 6:46 
AnswerRe: Making one copy of complex type from 2 webservices. Pin
Ashfield3-Dec-09 8:41
Ashfield3-Dec-09 8:41 
GeneralRe: Making one copy of complex type from 2 webservices. Pin
mittalpa3-Dec-09 11:19
mittalpa3-Dec-09 11:19 
QuestionHow to Close any opened Connections to a database? Pin
CoderForEver3-Dec-09 6:41
CoderForEver3-Dec-09 6:41 
AnswerRe: How to Close any opened Connections to a database? [modified] Pin
PIEBALDconsult3-Dec-09 7:51
mvePIEBALDconsult3-Dec-09 7:51 
GeneralRe: How to Close any opened Connections to a database? Pin
CoderForEver3-Dec-09 7:57
CoderForEver3-Dec-09 7:57 
GeneralRe: How to Close any opened Connections to a database? Pin
CoderForEver3-Dec-09 8:13
CoderForEver3-Dec-09 8:13 
AnswerRe: How to Close any opened Connections to a database? Pin
Shorgov3-Dec-09 11:17
Shorgov3-Dec-09 11:17 
GeneralRe: How to Close any opened Connections to a database? Pin
Ashfield3-Dec-09 20:53
Ashfield3-Dec-09 20:53 
GeneralRe: How to Close any opened Connections to a database? Pin
Shorgov3-Dec-09 22:09
Shorgov3-Dec-09 22:09 
GeneralRe: How to Close any opened Connections to a database? Pin
Ashfield4-Dec-09 1:09
Ashfield4-Dec-09 1:09 
GeneralRe: How to Close any opened Connections to a database? Pin
Shorgov4-Dec-09 5:32
Shorgov4-Dec-09 5:32 

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.