Search:

Type: Posts; User: chrishowarth

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    7
    Views
    2,434

    I had this problem recently. I'm not sure why it...

    I had this problem recently. I'm not sure why it is happening! A quick
    SendMessage(hwndcontrol,WM_SETFONT,(WPARAM)GetStockObject(DEFAULT_GUI_FONT),MAKELPARAM(1,0)); in WM_CREATE sorted it our...
  2. Replies
    13
    Views
    1,679

    OK, thanks. Of course, yes, but it would be...

    OK, thanks. Of course, yes, but it would be better to have an error message alerting the user if an error did occur, rather than the program crashing.

    Thankyou! ~
    Chrishowarth
  3. Replies
    13
    Views
    1,679

    Exceptions

    Hi~

    I understand that there is an exception throwing mechansim in C++. I was experimenting with it the other day - but can I use it to check for random exceptions, i.e. "An unexpected error has...
  4. Replies
    13
    Views
    2,275

    It works!!! Thankyou all so much :D Sorry I am...

    It works!!! Thankyou all so much :D Sorry I am a bit slow.
  5. Replies
    13
    Views
    2,275

    I've almost finished my app, and I'm learning...

    I've almost finished my app, and I'm learning more from creating this than I did with the tutorials. Of course I read the tutorials, but making a program is helping me understand it.

    Thanks!...
  6. Replies
    13
    Views
    2,275

    char szTitle[256]={'\0'}; ...

    char szTitle[256]={'\0'};
    GetDlgItemText(hwnd, EditTitle, szTitle, sizeof(szTitle));

    I unfortunately get these errors:


    invalid conversion from 'HWND__*' to 'int'
    initialising...
  7. Replies
    13
    Views
    2,275

    OK thanks. I'll try that.

    OK thanks. I'll try that.
  8. Replies
    13
    Views
    2,275

    Oh yes, I forgot to include that in my code...

    Oh yes, I forgot to include that in my code snippet... What i dont get is the Long Pointer to the buffer that is to receive the text. How do I just get it to return a value? :S
  9. Replies
    13
    Views
    2,275

    Retrieving the text from an edit box

    Hi ~

    I'm trying to use WM_GETTEXT to retrieve the contents of an edit box, "EditTitle".
    The syntax for WM_GETTEXT is as follows:


    WM_GETTEXT wParam = (WPARAM) cchTextMax;
    lParam =...
  10. Replies
    2
    Views
    1,139

    Ah thankyou!

    Ah thankyou!
  11. Replies
    2
    Views
    1,139

    How would this look if I used fstream?

    Hi ~

    I found this code on Planet Source Code. It performs some file I/O to read ID3 tags in MP3 files. Here it is:



    class ID3struct
    {
    public:
    char TID[3];
  12. Replies
    1
    Views
    867

    A little problem with a class

    Hello ~

    I'm writing a GUI program which reads and edits ID3 tag data from MP3s. However, I am having a little problem extracting some of the data. I am sure that this is something simple that I...
  13. Replies
    2
    Views
    1,517

    Thanks! It works; thanks!

    Thanks! It works; thanks!
  14. Replies
    2
    Views
    1,517

    All my controls text is bold!

    Hi

    Oddly, the text on my buttons and in my edit boxes has all turned out bold. It there any way to rectify this? Here is the code is used to create a button:


    HWND SaveBtn;
    ...
  15. Replies
    2
    Views
    1,656

    There are no 'simple' ways to create a Graphic...

    There are no 'simple' ways to create a Graphic User Interface. A blank windows requires approximately 77 lines of code. However, you can read a tutorial by theForger here:...
  16. Replies
    4
    Views
    1,048

    Ah, thanks.

    Ah, thanks.
  17. Replies
    4
    Views
    1,048

    What do you mean?

    What do you mean?
  18. Replies
    4
    Views
    1,048

    Loading DLLs - statically?

    Hello!

    I'm using a DLL in my project (not created by me), and I would like to load it statically, because I heard somewhere that it is easier to load statically than dynamically? I have the .lib...
  19. Replies
    6
    Views
    1,525

    I cannot find a tutorial or book for this - I...

    I cannot find a tutorial or book for this - I have looked. I though someone might like to help.
  20. Replies
    6
    Views
    1,525

    I need some WinAPI functions

    Hi ~

    I'm starting off Windows programming with a simple program to manipulate MP3 file data. When a file is opened I plan to display the info in some regular static text boxes (like the 'title'...
  21. Replies
    6
    Views
    1,243

    I'm glad I'm not alone! Note: In the post...

    I'm glad I'm not alone!

    Note: In the post mentioned by Ken Fitlike is talks about an 'XN Resource Editor'. I downloaded it, but I doesn't seem to create .rc files... maybe was wrong about...
  22. Replies
    6
    Views
    1,243

    I've had a look, I'm gonna check whether they're...

    I've had a look, I'm gonna check whether they're what I'm looking for.
  23. Replies
    8
    Views
    1,318

    Think of pointers as the 'Shortcuts' you can...

    Think of pointers as the 'Shortcuts' you can create in Windows to files - only C++ pointers point to units of memory. You create a pointer like this: type it will point to* It's name.
    Then, to...
  24. Thread: File I/O

    by chrishowarth
    Replies
    2
    Views
    1,126

    Oh yes, thanks!

    Oh yes, thanks!
  25. Thread: File I/O

    by chrishowarth
    Replies
    2
    Views
    1,126

    File I/O

    Hello ~

    I'm creating a DLL that (basically) reads and writes ID3 data from MP3s. How can I, using the Standard Library (or fstream.h), read exactly 30 bytes, then another lump of data of specific...
Results 1 to 25 of 34
Page 1 of 2 1 2