SendMessage() for saving text file

S

Sn

Does anyone know how to use the SendMessage() function to save a text
file in UTF-8 format. what are the Msg, Wparam and the lParam
parameters passed to the function?
 
J

Joona I Palaste

Sn said:
Does anyone know how to use the SendMessage() function to save a text
file in UTF-8 format. what are the Msg, Wparam and the lParam
parameters passed to the function?

There is no SendMessage() function defined in ISO standard C. Judging by
the bastardised Hungarian notation -lookalike, you probably want
comp.os.ms-windows.programmer.{misc,win32}.
 
B

Ben Pfaff

Sn said:
Does anyone know how to use the SendMessage() function to save a text
file in UTF-8 format. what are the Msg, Wparam and the lParam
parameters passed to the function?

I would expect that fopen(), fwrite(), and fclose() would serve
better for writing files. This is especially true because
standard C does not have a SendMessage() function.
 
M

Mike Wahler

Sn said:
Does anyone know how to use the SendMessage() function to save a text
file in UTF-8 format. what are the Msg, Wparam and the lParam
parameters passed to the function?

The function 'SendMessage()', and the types 'MSG', 'WPARAM',
and 'LPARAM' are part of the Microsoft Windows API, and
are not part of the C language or its standard library.

<OT>
In any event, even with Windows, 'SendMessage()' has
nothing to do with file i/o. It's for communicating
with windows (via 'window handles').
</OT>

Ask about the Windows API in group comp.os.ms-windows.programmer.win32

-Mike
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,157
Messages
2,570,879
Members
47,414
Latest member
djangoframe

Latest Threads

Top