Click here to Skip to main content
15,917,455 members
Home / Discussions / Windows Forms
   

Windows Forms

 
GeneralCross Post Pin
Pete O'Hanlon7-Apr-08 22:24
mvePete O'Hanlon7-Apr-08 22:24 
GeneralSchedule same file in same day Pin
yesu prakash6-Apr-08 22:40
yesu prakash6-Apr-08 22:40 
GeneralRe: Schedule same file in same day Pin
Pete O'Hanlon7-Apr-08 1:48
mvePete O'Hanlon7-Apr-08 1:48 
QuestionDrag and Drop in treeview node Pin
Revathij4-Apr-08 21:09
Revathij4-Apr-08 21:09 
GeneralRe: Drag and Drop in treeview node Pin
sathish s7-Apr-08 0:37
sathish s7-Apr-08 0:37 
QuestionHow to change value from MessageBox at runtime ? Pin
namnguyenHN4-Apr-08 18:51
namnguyenHN4-Apr-08 18:51 
GeneralRe: How to change value from MessageBox at runtime ? Pin
Pete O'Hanlon7-Apr-08 1:45
mvePete O'Hanlon7-Apr-08 1:45 
QuestionStrange - ON_BN_CLICKED Event gets caught in loop Pin
97C5ENVY4-Apr-08 4:49
97C5ENVY4-Apr-08 4:49 
I added some WinPcap initialization code to a radio-button's OnClick event. Part of my WinPcap initialization process is to display a dialog box with a list of availble network adapters for the user to select from. The ListBox, adapter selection, and OK button all work as intended. However if the user clicks CANCEL and then trys to exit the application the radio-button's OnClick event goes into a loop.....and this happens before the apps destructor even gets called. Anyone care to take a look at my code and see what maybe causing this loop?

Thanks!
<br />
void CAutoSendDlg::OnPcapRadio() <br />
{<br />
<br />
	if(SelectAdapter()){ // Adapter selection & initalization<br />
		<br />
		// Close SocketManager before opening pcap<br />
		if (g_SocketMgrLoaded){<br />
			CAutoSendDlg::CloseSocketManager();<br />
			g_SocketMgrLoaded = FALSE;<br />
		}<br />
		g_PcapLoaded = TRUE;<br />
		m_ProtoTypeCombo.EnableWindow(TRUE);<br />
		m_MsgTypeCombo.EnableWindow(FALSE);<br />
		m_PacketSummary = m_TxMsg.InfoSummary();<br />
	}<br />
	else{	<br />
                // Set radio button back to original selection<br />
		CheckRadioButton(IDC_WINSOCK_RADIO,IDC_PCAP_RADIO,IDC_WINSOCK_RADIO);<br />
	}<br />
}<br />

GeneralRe: Strange - ON_BN_CLICKED Event gets caught in loop Pin
Guffa5-Apr-08 18:47
Guffa5-Apr-08 18:47 
QuestionHow to do phone number validation in windows application Pin
sanjaybeh@gmail.com3-Apr-08 23:22
sanjaybeh@gmail.com3-Apr-08 23:22 
AnswerRe: How to do phone number validation in windows application Pin
Pete O'Hanlon4-Apr-08 0:16
mvePete O'Hanlon4-Apr-08 0:16 
GeneralRe: How to do phone number validation in windows application Pin
AndrewVos10-Apr-08 1:12
AndrewVos10-Apr-08 1:12 
GeneralRe: How to do phone number validation in windows application Pin
Pete O'Hanlon10-Apr-08 1:51
mvePete O'Hanlon10-Apr-08 1:51 
GeneralHP 6767 NoteBoOk sql sERVER 2005 Pin
Piyush Vardhan Singh3-Apr-08 22:33
Piyush Vardhan Singh3-Apr-08 22:33 
GeneralPlease don't cross post. Pin
Colin Angus Mackay4-Apr-08 0:29
Colin Angus Mackay4-Apr-08 0:29 
QuestionAnimated icon Pin
Kriptoz3-Apr-08 22:17
Kriptoz3-Apr-08 22:17 
Questionconfig file wont overwrite on upgrade install on vista Pin
Paul Shaffer3-Apr-08 16:40
Paul Shaffer3-Apr-08 16:40 
GeneralPage setup code in report viewer Pin
Member 42901183-Apr-08 11:09
Member 42901183-Apr-08 11:09 
GeneralRe: Page setup code in report viewer Pin
led mike3-Apr-08 11:33
led mike3-Apr-08 11:33 
GeneralRaising Events in a Composite user control [modified] Pin
LoneRobot3-Apr-08 2:47
LoneRobot3-Apr-08 2:47 
GeneralRe: Raising Events in a Composite user control Pin
Sk8tz7-Apr-08 21:59
professionalSk8tz7-Apr-08 21:59 
QuestionHow to call control from fromA to fromB Pin
cocoonwls3-Apr-08 0:12
cocoonwls3-Apr-08 0:12 
AnswerRe: How to call control from fromA to fromB Pin
Eduard Keilholz3-Apr-08 2:59
Eduard Keilholz3-Apr-08 2:59 
AnswerRe: How to call control from fromA to fromB Pin
N a v a n e e t h3-Apr-08 3:35
N a v a n e e t h3-Apr-08 3:35 
AnswerRe: How to call control from fromA to fromB Pin
Pete O'Hanlon3-Apr-08 9:39
mvePete O'Hanlon3-Apr-08 9: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.