Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by zulfi1234

  1. zulfi1234

    Editor problem

    I have written a editor program but its not accepting more than 100 characters although I have declared the array size to be of 500. The scroll bar does not move beyond 100 characters in the 1st line of text. const MAX_LINES = 500; class CEditor5Doc : public CDocument { protected: // create...
  2. zulfi1234

    Selecting a Font

    I am trying to select a Font from CFontDialog but its not working. Can somebody plz help me ? I am using following code: CFontDialog dlgChooseFont; if( dlgChooseFont.DoModal() == IDOK) { if(!ptrlogfont) ptrlogfont = new LOGFONT; memcpy(ptrlogfont, &(dlgChooseFont.m_lf)...
  3. zulfi1234

    A simple JSP not working

    I have installed JWS on Win 2000 & I am using IE as the browser. I have created the following JSP file: <HTML> <BODY> out.println(&quot;Hello World&quot;); </BODY> </HTML> but when I say http://localhost:8080/hello.jsp I dont see any thing on the browser. Can somebody help me plz. Zulfi.
  4. zulfi1234

    JWS not running

    Hi, I have installed JWS on Win NT server 4 but when I am trying to type http://localhost:8080/ in my browser I am not able to see the index page. Can somebody plz help me. Zulfi.
  5. zulfi1234

    Handling Exceptions

    I have created an Overdrawn class and an Account class. The Account class is generating an exception of Overdrawn type when the amount to debit becomes greater than the current balance, Can some body please look into my code & find out the error. The project has three files: Account.h...
  6. zulfi1234

    Horizontal scroll bar not enabled

    Hi, I have hard coded&nbsp;&nbsp;the&nbsp;&nbsp;value but its still not working.<br><br>Please help&nbsp;&nbsp;me.<br><br>My&nbsp;&nbsp;problem&nbsp;&nbsp;not&nbsp;&nbsp;solved.<br><br>Zulfi.
  7. zulfi1234

    Horizontal scroll bar not enabled

    I have&nbsp;&nbsp;tried&nbsp;&nbsp;with&nbsp;&nbsp;the&nbsp;&nbsp;following&nbsp;&nbsp;code but its not working. <br><br>m_MultiList.AddString(&quot;One Two Three HHHHHHHHHH&quot;);<br> m_MultiList.AddString(&quot;Four Five Six&quot;);<br> m_MultiList.AddString(&quot;Seven Eight...
  8. zulfi1234

    Horizontal scroll bar not enabled

    I have&nbsp;&nbsp;already&nbsp;&nbsp;checked it.<br><br>Actually&nbsp;&nbsp;problem&nbsp;&nbsp;is&nbsp;&nbsp;with&nbsp;&nbsp;Multi-Line&nbsp;&nbsp;list&nbsp;&nbsp;box. Its&nbsp;&nbsp;working for&nbsp;&nbsp;Single Line.<br><br>My problem&nbsp;&nbsp;not&nbsp;&nbsp;solved.
  9. zulfi1234

    Horizontal scroll bar not enabled

    I have created two list boxes: single line & multiline . The vertical scroll bar becomes enabled when the<br>&nbsp;limit crosses but horizontal scroll bar is not enabled in both the list boxes despite the fact that length of<br>&nbsp;text is greater than the size of list box.<br><br><br>&nbsp;Zulfi.
  10. zulfi1234

    How to load a cursor?

    Dear palbano,<br>Thanks for your interest. I got my problem solved.<br>Zulfi.
  11. zulfi1234

    How to load a cursor?

    I want to change the cursor when I click the radio button on my dlg. The cursor should be changed to an icon. Should I call OnSetCursor ( ) through my radio button handler??<br><br>Zulfi
  12. zulfi1234

    How to load a cursor?

    I have created an icon using the bitmap editor. How I can load the icon as the cursor? I am doing the<br>&nbsp;following things in my dialog's implementation file:<br><br>&nbsp;m_Cursor=3;<br>&nbsp;hCursor = AfxGetApp()-&gt;LoadCursor(IDI_ICON3);<br>&nbsp;::SetCursor(hCursor);<br><br>&nbsp;And...
  13. zulfi1234

    Icon not visible on the dialog box

    Problem&nbsp;&nbsp;solved.<br><br>Zulfi
  14. zulfi1234

    Icon not visible on the dialog box

    Can somebody please help me in this regard<br><br>BOOL CModalDlg::OnInitDialog() <br>{<br> CDialog::OnInitDialog();<br> ControlRect.top = 10;<br> ControlRect.bottom = ControlRect.top + 200;;<br> ControlRect.left = 50;<br> ControlRect.right = ControlRect.left + 200;<br>...
  15. zulfi1234

    Modeless Dlg not visible

    Thanks.<br>Zulfi

Part and Inventory Search

Back
Top