Click here to Skip to main content
15,885,032 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: Snapshot of a Form in a thumbnail Pin
Graeme_Grant7-Apr-09 23:30
mvaGraeme_Grant7-Apr-09 23:30 
AnswerRe: Snapshot of a Form in a thumbnail Pin
Eslam Afifi7-Apr-09 15:56
Eslam Afifi7-Apr-09 15:56 
GeneralRe: Snapshot of a Form in a thumbnail [modified] Pin
Graeme_Grant7-Apr-09 23:32
mvaGraeme_Grant7-Apr-09 23:32 
GeneralRe: Snapshot of a Form in a thumbnail Pin
Graeme_Grant8-Apr-09 0:37
mvaGraeme_Grant8-Apr-09 0:37 
GeneralRe: Snapshot of a Form in a thumbnail [modified] Pin
Eslam Afifi8-Apr-09 8:24
Eslam Afifi8-Apr-09 8:24 
GeneralRe: Snapshot of a Form in a thumbnail Pin
Graeme_Grant8-Apr-09 10:43
mvaGraeme_Grant8-Apr-09 10:43 
GeneralRe: Snapshot of a Form in a thumbnail Pin
Eslam Afifi10-Apr-09 3:07
Eslam Afifi10-Apr-09 3:07 
GeneralRe: Snapshot of a Form in a thumbnail Pin
Graeme_Grant10-Apr-09 14:21
mvaGraeme_Grant10-Apr-09 14:21 
I couldn't get around your problem... So I tried something different but not getting an image...

Dim hlper As New System.Windows.Interop.WindowInteropHelper(Me)
Dim gr As System.Drawing.Graphics = System.Drawing.Graphics.FromHwnd(hlper.Handle)
Dim ms As New MemoryStream

Dim bmp As System.Drawing.Bitmap = New System.Drawing.Bitmap(gr.VisibleClipBounds.Width, gr.VisibleClipBounds.Height, gr)
bmp.Save(ms, System.Drawing.Imaging.ImageFormat.Jpeg)

Dim bImg As System.Windows.Media.Imaging.BitmapImage = New System.Windows.Media.Imaging.BitmapImage()
bImg.BeginInit()
bImg.StreamSource = New MemoryStream(ms.ToArray())
bImg.EndInit()
Return bImg


Any thoughts?

PS: I'm running in fullscreen mode and want preview and open window thumbnails as navigational tools... Smile | :)
GeneralRe: Snapshot of a Form in a thumbnail Pin
Eslam Afifi10-Apr-09 15:28
Eslam Afifi10-Apr-09 15:28 
GeneralRe: Snapshot of a Form in a thumbnail Pin
Graeme_Grant10-Apr-09 17:11
mvaGraeme_Grant10-Apr-09 17:11 
GeneralRe: Snapshot of a Form in a thumbnail Pin
Eslam Afifi11-Apr-09 8:04
Eslam Afifi11-Apr-09 8:04 
GeneralRe: Snapshot of a Form in a thumbnail Pin
Graeme_Grant11-Apr-09 12:03
mvaGraeme_Grant11-Apr-09 12:03 
GeneralRe: Snapshot of a Form in a thumbnail Pin
Eslam Afifi11-Apr-09 23:30
Eslam Afifi11-Apr-09 23:30 
QuestionWPF layout manager - resize,maximise minimise Pin
smita.si6-Apr-09 22:14
smita.si6-Apr-09 22:14 
QuestionIssue's with WCF and WPF XBAP's Pin
Gretna6-Apr-09 21:42
Gretna6-Apr-09 21:42 
QuestionWPFtoolkit's DataGrid and DatagridColumnHeader Pin
wazzzuup6-Apr-09 11:10
wazzzuup6-Apr-09 11:10 
AnswerRe: WPFtoolkit's DataGrid and DatagridColumnHeader Pin
Wes Aday7-Apr-09 8:05
professionalWes Aday7-Apr-09 8:05 
QuestionHow to deploy Silverlight application on IIS server? Pin
sumit70346-Apr-09 2:57
sumit70346-Apr-09 2:57 
AnswerRe: How to deploy Silverlight application on IIS server? Pin
Mark Salsbery6-Apr-09 6:28
Mark Salsbery6-Apr-09 6:28 
GeneralRe: How to deploy Silverlight application on IIS server? Pin
Piyush Vardhan Singh6-Apr-09 20:46
Piyush Vardhan Singh6-Apr-09 20:46 
GeneralRe: How to deploy Silverlight application on IIS server? Pin
sumit70346-Apr-09 22:46
sumit70346-Apr-09 22:46 
GeneralRe: How to deploy Silverlight application on IIS server? Pin
Braulio Dez12-Apr-09 7:25
Braulio Dez12-Apr-09 7:25 
GeneralRe: How to deploy Silverlight application on IIS server? Pin
Braulio Dez12-Apr-09 7:26
Braulio Dez12-Apr-09 7:26 
AnswerRe: How to deploy Silverlight application on IIS server? Pin
souidi abderrahman16-Jul-10 6:21
souidi abderrahman16-Jul-10 6:21 
QuestionDeepearth in Silverlight [modified] Pin
samfisher14125-Apr-09 21:39
samfisher14125-Apr-09 21:39 

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.