Click here to Skip to main content
15,908,264 members
Home / Discussions / C#
   

C#

 
GeneralRe: Access Form from Class Pin
Dave Kreskowiak8-Apr-08 5:19
mveDave Kreskowiak8-Apr-08 5:19 
GeneralRe: Access Form from Class Pin
carbon_golem8-Apr-08 16:56
carbon_golem8-Apr-08 16:56 
GeneralRe: Access Form from Class Pin
Dave Kreskowiak8-Apr-08 5:16
mveDave Kreskowiak8-Apr-08 5:16 
GeneralRe: Access Form from Class Pin
Gareth H8-Apr-08 5:38
Gareth H8-Apr-08 5:38 
QuestionAllow service to interact with Desktop Pin
ptr2void8-Apr-08 2:36
ptr2void8-Apr-08 2:36 
GeneralRe: Allow service to interact with Desktop Pin
Dave Kreskowiak8-Apr-08 5:13
mveDave Kreskowiak8-Apr-08 5:13 
GeneralRe: Allow service to interact with Desktop Pin
som.nitk8-Apr-08 5:23
som.nitk8-Apr-08 5:23 
QuestionStackOverflow in ListView Pin
Pathetic Logic8-Apr-08 1:22
Pathetic Logic8-Apr-08 1:22 
Hello Experts!
Well, I am in a newer predicament lately. This, after I managed to get some help on customising a listview control.

<a href="http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=3089588&SiteID=1"><a href="http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=3089588&SiteID=1">http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=3089588&SiteID=1</a></a>[<a href="http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=3089588&SiteID=1" target="_blank" title="New Window">^</a>]

The problem I am facing now is that i try to scroll the customised scroll I am facing a StackOverflow Exception.

This is how I am trying to communicate the scroll across

//starts here
if (e.Orientation == ScrollOrientation.VerticalScroll)
{
if (lo == 5)
{
if (SetScrollPos(this.listViewEx2.Handle, SBS_VERT, hi, true) != 0)
{
SendMessage(this.listViewEx2.Handle, WM_VSCROLL, (IntPtr)(4 + 0x10000 * hi), IntPtr.Zero);
}
}
else
{
SendMessage(this.listViewEx2.Handle, WM_VSCROLL, e.WParam, IntPtr.Zero);
}
}

if (e.Orientation == ScrollOrientation.HorizontalScroll)
{
if (lo == 5)
{
SetScrollPos(this.listViewEx2.Handle, SBS_HORZ, hi, true);
SendMessage(this.listViewEx2.Handle, WM_HSCROLL, (IntPtr)(4 + 0x10000 * hi), IntPtr.Zero);
}
else
{
SendMessage(this.listViewEx2.Handle, WM_HSCROLL, e.WParam, IntPtr.Zero);
}
}
//ends here

Someone please help me! All I have is one last day at hand!

-
Roger Cry | :((
GeneralRe: StackOverflow in ListView Pin
Christian Graus8-Apr-08 1:28
protectorChristian Graus8-Apr-08 1:28 
QuestionRe: StackOverflow in ListView Pin
Pathetic Logic8-Apr-08 3:04
Pathetic Logic8-Apr-08 3:04 
AnswerRe: StackOverflow in ListView Pin
Pathetic Logic8-Apr-08 4:51
Pathetic Logic8-Apr-08 4:51 
GeneralRegarding Multithreading Pin
tasumisra8-Apr-08 0:32
tasumisra8-Apr-08 0:32 
GeneralRe: Regarding Multithreading Pin
Christian Graus8-Apr-08 0:34
protectorChristian Graus8-Apr-08 0:34 
QuestionHow to start learning about creating database server. Pin
toeh7-Apr-08 23:56
toeh7-Apr-08 23:56 
AnswerRe: How to start learning about creating database server. Pin
Christian Graus8-Apr-08 0:16
protectorChristian Graus8-Apr-08 0:16 
AnswerRe: How to start learning about creating database server. Pin
Pete O'Hanlon8-Apr-08 0:58
mvePete O'Hanlon8-Apr-08 0:58 
AnswerRe: How to start learning about creating database server. Pin
darkelv8-Apr-08 1:26
darkelv8-Apr-08 1:26 
Questionexporting windows form as pdf Pin
Faysal7-Apr-08 23:43
Faysal7-Apr-08 23:43 
GeneralRe: exporting windows form as pdf Pin
Christian Graus8-Apr-08 0:17
protectorChristian Graus8-Apr-08 0:17 
GeneralRe: exporting windows form as pdf Pin
Faysal8-Apr-08 0:56
Faysal8-Apr-08 0:56 
GeneralRe: exporting windows form as pdf Pin
Christian Graus8-Apr-08 1:12
protectorChristian Graus8-Apr-08 1:12 
GeneralRe: exporting windows form as pdf Pin
Faysal8-Apr-08 23:06
Faysal8-Apr-08 23:06 
GeneralParameter Handling while generating code from the WSDL Pin
Kapil Singhal7-Apr-08 23:33
Kapil Singhal7-Apr-08 23:33 
GeneralList of open excel documents and the path of the document Pin
Member 5142527-Apr-08 23:22
Member 5142527-Apr-08 23:22 
GeneralRe: List of open excel documents and the path of the document Pin
Dave Kreskowiak8-Apr-08 5:03
mveDave Kreskowiak8-Apr-08 5:03 

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.